From 6121708e55aaaf4055014aa84efa717166efcc1a Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Wed, 1 Jan 2025 10:12:51 -0800 Subject: [PATCH] unittests/ASM: Fix incorrect instruction form test This test was generating the wrong form of instruction. There's no way to choose this form with nasm deliberately, so manually encode it. Fixes #4150 --- unittests/ASM/OpSize/66_D6.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unittests/ASM/OpSize/66_D6.asm b/unittests/ASM/OpSize/66_D6.asm index c89fb91ea7..f78daf4af0 100644 --- a/unittests/ASM/OpSize/66_D6.asm +++ b/unittests/ASM/OpSize/66_D6.asm @@ -23,7 +23,8 @@ mov [rdx + 8 * 5], rax movapd xmm2, [rdx + 8 * 0] -movq xmm0, xmm2 +; movq xmm0, xmm2 +db 0x66, 0x0f, 0xd6, 11_010_000b movq [rdx + 8 * 2], xmm2 movapd xmm1, [rdx + 8 * 2]