Fix encoding of atomic compare and swap for i64

llvm-svn: 53911
This commit is contained in:
Anton Korobeynikov 2008-07-22 16:22:48 +00:00
parent a8efcf58a2
commit 2d29ee06cd
1 changed files with 1 additions and 1 deletions

View File

@ -2594,7 +2594,7 @@ def LCMPXCHG32 : I<0xB1, MRMDestMem, (outs), (ins i32mem:$ptr, GR32:$swap),
[(X86cas addr:$ptr, GR32:$swap, 4)]>, TB, LOCK;
}
let Defs = [EAX, EBX, ECX, EDX, EFLAGS], Uses = [EAX, EBX, ECX, EDX] in {
def LCMPXCHG8B : I<0xC7, MRMDestMem, (outs), (ins i32mem:$ptr),
def LCMPXCHG8B : I<0xC7, MRM1m, (outs), (ins i32mem:$ptr),
"lock cmpxchg8b\t$ptr",
[(X86cas8 addr:$ptr)]>, TB, LOCK;
}