aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/X86/x86-64.s
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2012-04-11 01:10:53 +0000
committerCharles Davis <cdavis@mines.edu>2012-04-11 01:10:53 +0000
commit0d82fe77f2b6f48b5fab131c1671169d154f8c69 (patch)
tree9e74e1a243e7e0fe1ed7b84a47ffbfa9045687c7 /test/MC/X86/x86-64.s
parenta0908d0a44f05f0d48ed98be94358c4921e59aa0 (diff)
downloadexternal_llvm-0d82fe77f2b6f48b5fab131c1671169d154f8c69.zip
external_llvm-0d82fe77f2b6f48b5fab131c1671169d154f8c69.tar.gz
external_llvm-0d82fe77f2b6f48b5fab131c1671169d154f8c69.tar.bz2
Add retw and lretw instructions. Also, fix Intel syntax parsing for all
ret instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86/x86-64.s')
-rw-r--r--test/MC/X86/x86-64.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/X86/x86-64.s b/test/MC/X86/x86-64.s
index f53b672..6a2d5bb 100644
--- a/test/MC/X86/x86-64.s
+++ b/test/MC/X86/x86-64.s
@@ -50,6 +50,9 @@
// CHECK: ret
ret
+// CHECK: retw
+ retw
+
// FIXME: Check that this matches SUB32ri8
// CHECK: subl $1, %eax
subl $1, %eax
@@ -841,6 +844,7 @@ iretq
lretq // CHECK: lretq # encoding: [0x48,0xcb]
lretl // CHECK: lretl # encoding: [0xcb]
lret // CHECK: lretl # encoding: [0xcb]
+lretw // CHECK: lretw # encoding: [0x66,0xcb]
// rdar://8403907
sysret