Skip to content

Commit

Permalink
[X86] Remove unnecessary XADD*rr overrides from bdver2 model
Browse files Browse the repository at this point in the history
Reported by D138359 - the overrides matched the base class schedule definition
  • Loading branch information
RKSimon committed Dec 1, 2022
1 parent 00b9cef commit 74c0f57
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions llvm/lib/Target/X86/X86ScheduleBdVer2.td
Expand Up @@ -411,13 +411,6 @@ def PdWriteCMPXCHG16B : SchedWriteRes<[PdEX1]> {
}
def : InstRW<[PdWriteCMPXCHG16B], (instrs CMPXCHG16B)>;

def PdWriteXADD : SchedWriteRes<[PdEX1]> {
let Latency = 1;
let ResourceCycles = [1];
let NumMicroOps = 2;
}
def : InstRW<[PdWriteXADD], (instrs XADD8rr, XADD16rr, XADD32rr, XADD64rr)>;

def PdWriteXADDm : SchedWriteRes<[PdEX1]> {
let Latency = 6;
let ResourceCycles = [20];
Expand Down

0 comments on commit 74c0f57

Please sign in to comment.