From d7197745ac4e7dcdc207d4938a1f2771e12b3dfd Mon Sep 17 00:00:00 2001 From: MerryMage Date: Sun, 21 Jun 2020 14:34:42 +0100 Subject: [PATCH] emit_x64_vector_floating_point: fpcr_controlled is unused when fsize == 16 in EmitFPVectorToFixed --- src/backend/x64/emit_x64_vector_floating_point.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/x64/emit_x64_vector_floating_point.cpp b/src/backend/x64/emit_x64_vector_floating_point.cpp index 3a1f0757..c71de89f 100644 --- a/src/backend/x64/emit_x64_vector_floating_point.cpp +++ b/src/backend/x64/emit_x64_vector_floating_point.cpp @@ -1438,7 +1438,7 @@ void EmitFPVectorToFixed(BlockOfCode& code, EmitContext& ctx, IR::Inst* inst) { const size_t fbits = inst->GetArg(1).GetU8(); const auto rounding = static_cast(inst->GetArg(2).GetU8()); - const bool fpcr_controlled = inst->GetArg(3).GetU1(); + [[maybe_unused]] const bool fpcr_controlled = inst->GetArg(3).GetU1(); // TODO: AVX512 implementation