diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2011-08-09 22:17:39 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2011-08-09 22:17:39 +0000 |
| commit | 4ef2426b87f87d0dbb207e3d669fbe9f100e44ff (patch) | |
| tree | 766a1526524f9df5e4de5e5a1a57dfdb63634a75 /llvm/lib | |
| parent | 07f60915270270cfbcf337fc41685cda618ebd73 (diff) | |
| download | bcm5719-llvm-4ef2426b87f87d0dbb207e3d669fbe9f100e44ff.tar.gz bcm5719-llvm-4ef2426b87f87d0dbb207e3d669fbe9f100e44ff.zip | |
Fix a couple ridiculous copy-paste errors. rdar://9914773 .
llvm-svn: 137160
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/X86/X86InstrCompiler.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86InstrCompiler.td b/llvm/lib/Target/X86/X86InstrCompiler.td index 17464f380bc..745adc6e54d 100644 --- a/llvm/lib/Target/X86/X86InstrCompiler.td +++ b/llvm/lib/Target/X86/X86InstrCompiler.td @@ -630,8 +630,8 @@ def #NAME#64mi8 : RIi8<{ImmOpc8{7}, ImmOpc8{6}, ImmOpc8{5}, ImmOpc8{4}, defm LOCK_ADD : LOCK_ArithBinOp<0x00, 0x80, 0x83, MRM0m, "add">; defm LOCK_SUB : LOCK_ArithBinOp<0x28, 0x80, 0x83, MRM5m, "sub">; defm LOCK_OR : LOCK_ArithBinOp<0x08, 0x80, 0x83, MRM1m, "or">; -defm LOCK_AND : LOCK_ArithBinOp<0x08, 0x80, 0x83, MRM4m, "and">; -defm LOCK_XOR : LOCK_ArithBinOp<0x08, 0x80, 0x83, MRM6m, "xor">; +defm LOCK_AND : LOCK_ArithBinOp<0x20, 0x80, 0x83, MRM4m, "and">; +defm LOCK_XOR : LOCK_ArithBinOp<0x30, 0x80, 0x83, MRM6m, "xor">; // Optimized codegen when the non-memory output is not used. let Defs = [EFLAGS], mayLoad = 1, mayStore = 1, isCodeGenOnly = 1 in { |

