diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-09-08 04:53:27 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-09-08 04:53:27 +0000 | 
| commit | 8caea68a4f6b209e73369b855829b32cd11d35af (patch) | |
| tree | 3f56b652c2c06a5983acfefd772b339500c865a3 /llvm/test | |
| parent | 7a23aa081aa3ad5e3a7f9f41d62dd4fdec2770b6 (diff) | |
| download | bcm5719-llvm-8caea68a4f6b209e73369b855829b32cd11d35af.tar.gz bcm5719-llvm-8caea68a4f6b209e73369b855829b32cd11d35af.zip | |
gas accepts xchg <mem>, <reg> as a synonym for xchg <reg>, <mem>.
Add this to the mc assembler, fixing PR8061
llvm-svn: 113346
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/AsmParser/X86/x86_64-new-encoder.s | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/llvm/test/MC/AsmParser/X86/x86_64-new-encoder.s b/llvm/test/MC/AsmParser/X86/x86_64-new-encoder.s index 3644147b167..7992972c988 100644 --- a/llvm/test/MC/AsmParser/X86/x86_64-new-encoder.s +++ b/llvm/test/MC/AsmParser/X86/x86_64-new-encoder.s @@ -168,3 +168,8 @@ L1:  // CHECK: jrcxz L1  // CHECK:   encoding: [0xe3,A] +// PR8061 +xchgl   368(%rax),%ecx +// CHECK: xchgl	%ecx, 368(%rax) +xchgl   %ecx, 368(%rax) +// CHECK: xchgl	%ecx, 368(%rax) | 

