From 954deff2d4f0a1a501d11f1784403b244abba3e7 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 26 May 2018 16:19:52 -0400 Subject: [PATCH] emit_x64_vector: Add break to final case in EmitVectorRoundingHalvingAddUnsigned() This doesn't alter behavior but does make the code better if anything else is ever added to this function in the future. --- src/backend_x64/emit_x64_vector.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend_x64/emit_x64_vector.cpp b/src/backend_x64/emit_x64_vector.cpp index 876ab899..240b0d24 100644 --- a/src/backend_x64/emit_x64_vector.cpp +++ b/src/backend_x64/emit_x64_vector.cpp @@ -1872,6 +1872,7 @@ static void EmitVectorRoundingHalvingAddUnsigned(size_t esize, EmitContext& ctx, code.paddd(a, b); ctx.reg_alloc.DefineValue(inst, a); + break; } } }