diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-15 05:25:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-15 05:25:21 +0000 |
commit | cbb442640fdefae48edca2b4c60555a68352b553 (patch) | |
tree | 3ee308bf6c661f34fc7e5f911889ab5904ecb16d /test | |
parent | 250b948f21b2910c5bc61fb364c6817727a3a972 (diff) | |
download | llvm-cbb442640fdefae48edca2b4c60555a68352b553.tar.gz llvm-cbb442640fdefae48edca2b4c60555a68352b553.tar.bz2 llvm-cbb442640fdefae48edca2b4c60555a68352b553.tar.xz |
apparently jmpl $1,$2 is an alias for ljmpl, similiarly
for call. Add this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/AsmParser/X86/x86_32-new-encoder.s | 15 | ||||
-rw-r--r-- | test/MC/AsmParser/X86/x86_instructions.s | 1 |
2 files changed, 15 insertions, 1 deletions
diff --git a/test/MC/AsmParser/X86/x86_32-new-encoder.s b/test/MC/AsmParser/X86/x86_32-new-encoder.s index f9cb206b6a..f5a53bf4ea 100644 --- a/test/MC/AsmParser/X86/x86_32-new-encoder.s +++ b/test/MC/AsmParser/X86/x86_32-new-encoder.s @@ -537,3 +537,18 @@ popfl setnl %bl setng %bl setnle %bl + + + + +// CHECK: lcalll $31438, $31438 +// CHECK: lcalll $31438, $31438 +// CHECK: ljmpl $31438, $31438 +// CHECK: ljmpl $31438, $31438 + +calll $0x7ace,$0x7ace +lcalll $0x7ace,$0x7ace +jmpl $0x7ace,$0x7ace +ljmpl $0x7ace,$0x7ace + + diff --git a/test/MC/AsmParser/X86/x86_instructions.s b/test/MC/AsmParser/X86/x86_instructions.s index 092aff3b48..16fafa6ef2 100644 --- a/test/MC/AsmParser/X86/x86_instructions.s +++ b/test/MC/AsmParser/X86/x86_instructions.s @@ -293,4 +293,3 @@ sldt %cx lcall *0xbadeface ljmp *0xbadeface - |