summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-15 05:30:20 +0000
committerChris Lattner <sabre@nondot.org>2010-09-15 05:30:20 +0000
commitd0bcc9a01590c60adb4d288691120c46a49a2288 (patch)
treec04f07ad6e8fe7692912994bff3b2cecc70bff5a /test/MC
parentcbb442640fdefae48edca2b4c60555a68352b553 (diff)
downloadllvm-d0bcc9a01590c60adb4d288691120c46a49a2288.tar.gz
llvm-d0bcc9a01590c60adb4d288691120c46a49a2288.tar.bz2
llvm-d0bcc9a01590c60adb4d288691120c46a49a2288.tar.xz
lcall and ljmp always default to lcalll and ljmpl. This finally
wraps up r8418316 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113949 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/AsmParser/X86/x86_32-new-encoder.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_32-new-encoder.s b/test/MC/AsmParser/X86/x86_32-new-encoder.s
index f5a53bf4ea..e24fce2723 100644
--- a/test/MC/AsmParser/X86/x86_32-new-encoder.s
+++ b/test/MC/AsmParser/X86/x86_32-new-encoder.s
@@ -551,4 +551,14 @@ lcalll $0x7ace,$0x7ace
jmpl $0x7ace,$0x7ace
ljmpl $0x7ace,$0x7ace
+// CHECK: lcalll $31438, $31438
+// CHECK: lcalll $31438, $31438
+// CHECK: ljmpl $31438, $31438
+// CHECK: ljmpl $31438, $31438
+
+call $0x7ace,$0x7ace
+lcall $0x7ace,$0x7ace
+jmp $0x7ace,$0x7ace
+ljmp $0x7ace,$0x7ace
+