From 3c742960a9c1898eeb9ba4f7ed93fb7f36d88dfe Mon Sep 17 00:00:00 2001 From: MerryMage Date: Sat, 4 Jul 2020 11:25:36 +0100 Subject: [PATCH] simd_three_same: Ensure zero in upper for PairedMinMaxOperation --- src/frontend/A64/translate/impl/simd_three_same.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/A64/translate/impl/simd_three_same.cpp b/src/frontend/A64/translate/impl/simd_three_same.cpp index 857eadbd..4c76d903 100644 --- a/src/frontend/A64/translate/impl/simd_three_same.cpp +++ b/src/frontend/A64/translate/impl/simd_three_same.cpp @@ -284,7 +284,7 @@ bool PairedMinMaxOperation(TranslatorVisitor& v, bool Q, Imm<2> size, Vec Vm, Ve }(); if (datasize == 64) { - result = v.ir.VectorShuffleWords(result, 0b11101000); + result = v.ir.VectorShuffleWords(result, 0b11011000); } v.V(datasize, Vd, result);