Skip to content

Commit 5b1610a

Browse files
committed
[X86] AMD Zen 3: MOVSX32rr32 is a zero-cycle move
It measures as such, and the reference docs agree. I can't easily add a MCA test, because there's no mnemonic for it, it can only be disassembled or created as a MCInst.
1 parent 6a2850f commit 5b1610a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86ScheduleZnver3.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1466,7 +1466,7 @@ def : IsOptimizableRegisterMove<[
14661466
// GPR variants.
14671467
MOV32rr, MOV32rr_REV,
14681468
MOV64rr, MOV64rr_REV,
1469-
// FIXME: MOVSXD32rr, but it is only supported in disassembler.
1469+
MOVSX32rr32,
14701470
// FIXME: XCHG32rr/XCHG64rr after MCA is fixed
14711471

14721472
// MMX variants.

0 commit comments

Comments
 (0)