Skip to content

Commit

Permalink
[X86] AMD Zen 3: MOVSX32rr32 is a zero-cycle move
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
LebedevRI committed May 7, 2021
1 parent 6a2850f commit 5b1610a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/X86/X86ScheduleZnver3.td
Original file line number Diff line number Diff line change
Expand Up @@ -1466,7 +1466,7 @@ def : IsOptimizableRegisterMove<[
// GPR variants.
MOV32rr, MOV32rr_REV,
MOV64rr, MOV64rr_REV,
// FIXME: MOVSXD32rr, but it is only supported in disassembler.
MOVSX32rr32,
// FIXME: XCHG32rr/XCHG64rr after MCA is fixed

// MMX variants.
Expand Down

0 comments on commit 5b1610a

Please sign in to comment.