From c3ead809270f866f42b4c9226789fb8a0a7ba51e Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Thu, 14 Sep 2023 16:05:38 -0700 Subject: [PATCH] InstCountCI: Update for optimized 16-bit movbe --- unittests/InstructionCountCI/H0F38.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/unittests/InstructionCountCI/H0F38.json b/unittests/InstructionCountCI/H0F38.json index 30769c8f1..2092337cd 100644 --- a/unittests/InstructionCountCI/H0F38.json +++ b/unittests/InstructionCountCI/H0F38.json @@ -1012,16 +1012,15 @@ ] }, "movbe ax, word [rbx]": { - "ExpectedInstructionCount": 4, - "Optimal": "No", + "ExpectedInstructionCount": 3, + "Optimal": "Yes", "Comment": [ "0x66 0x0f 0x38 0xf0" ], "ExpectedArm64ASM": [ "ldrh w20, [x7]", "rev w20, w20", - "lsr w20, w20, #16", - "bfxil x4, x20, #0, #16" + "bfxil x4, x20, #16, #16" ] }, "movbe eax, dword [rbx]": {