From 6d1b63e21b47a506e1c668069657773f511ce762 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Wed, 27 Sep 2023 14:29:07 -0500 Subject: [PATCH] No Issue - IonMonkey: Don't test for a 3-byte opcode in a 2-byte opcode predicate. https://bugzilla.mozilla.org/show_bug.cgi?id=1390214 Silence increasingly loud warnings from clang, also could cause errant behavior. --- js/src/jit/x86-shared/Encoding-x86-shared.h | 1 - 1 file changed, 1 deletion(-) diff --git a/js/src/jit/x86-shared/Encoding-x86-shared.h b/js/src/jit/x86-shared/Encoding-x86-shared.h index a55d5029e6..f8edb48f94 100644 --- a/js/src/jit/x86-shared/Encoding-x86-shared.h +++ b/js/src/jit/x86-shared/Encoding-x86-shared.h @@ -314,7 +314,6 @@ inline bool IsXMMReversedOperands(TwoByteOpcodeID opcode) case OP2_MOVSD_WsdVsd: // also OP2_MOVPS_WpsVps case OP2_MOVAPS_WsdVsd: case OP2_MOVDQ_WdqVdq: - case OP3_PEXTRD_EdVdqIb: return true; default: break;