From 02e932d9f48ff33839df2318ddf63789e010ef10 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Thu, 5 Nov 2026 15:04:25 -0800 Subject: [PATCH] InstcountCI: Remove CPUID with constant. This no longer optimizes --- .../InstructionCountCI/FEXOpt/MultiInst.json | 39 ------------------- 1 file changed, 39 deletions(-) diff --git a/unittests/InstructionCountCI/FEXOpt/MultiInst.json b/unittests/InstructionCountCI/FEXOpt/MultiInst.json index 09ae73e1e..7f30c54f5 100644 --- a/unittests/InstructionCountCI/FEXOpt/MultiInst.json +++ b/unittests/InstructionCountCI/FEXOpt/MultiInst.json @@ -19,45 +19,6 @@ "These are instruction combinations that could be more optimal if FEX optimized for them" ], "Instructions": { - "cpuid constant": { - "x86InstructionCount": 2, - "ExpectedInstructionCount": 26, - "Comment": [ - "CPUID function call with constant function id" - ], - "x86Insts": [ - "mov rax, 0", - "cpuid" - ], - "ExpectedArm64ASM": [ - "mov w4, #0x0", - "mov w20, #0x5", - "movk w20, #0x1, lsl #16", - "str x20, [x28, #24]", - "mrs x0, nzcv", - "str w0, [x28, #1032]", - "str x25, [x28, #176]", - "stp x4, x7, [x28, #32]", - "stp x5, x6, [x28, #48]", - "stp x8, x9, [x28, #64]", - "stp x10, x11, [x28, #80]", - "stp x12, x13, [x28, #96]", - "stp x14, x15, [x28, #112]", - "stp x16, x17, [x28, #128]", - "stp x19, x29, [x28, #144]", - "stp w26, w27, [x28, #16]", - "add x0, x28, #0x1c0 (448)", - "st1 {v16.2d, v17.2d, v18.2d, v19.2d}, [x0], #64", - "st1 {v20.2d, v21.2d, v22.2d, v23.2d}, [x0], #64", - "st1 {v24.2d, v25.2d, v26.2d, v27.2d}, [x0], #64", - "st1 {v28.2d, v29.2d, v30.2d, v31.2d}, [x0], #64", - "mov w0, #0x2", - "ldr x1, [x28, #2792]", - "br x1", - "unallocated (Unallocated)", - "udf #0xf9af" - ] - }, "xgetbv constant": { "x86InstructionCount": 2, "ExpectedInstructionCount": 3,