aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/X86/intel-syntax-encoding.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/X86/intel-syntax-encoding.s')
-rw-r--r--test/MC/X86/intel-syntax-encoding.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/MC/X86/intel-syntax-encoding.s b/test/MC/X86/intel-syntax-encoding.s
index 8891126..03b0551 100644
--- a/test/MC/X86/intel-syntax-encoding.s
+++ b/test/MC/X86/intel-syntax-encoding.s
@@ -42,3 +42,16 @@ LBB0_3:
// CHECK: encoding: [0x0f,0xc2,0xd1,0x01]
cmpltps XMM2, XMM1
+
+// CHECK: encoding: [0xc3]
+ ret
+
+// CHECK: encoding: [0xcb]
+ retf
+
+// CHECK: encoding: [0xc2,0x08,0x00]
+ ret 8
+
+// CHECK: encoding: [0xca,0x08,0x00]
+ retf 8
+