From 0d82fe77f2b6f48b5fab131c1671169d154f8c69 Mon Sep 17 00:00:00 2001 From: Charles Davis Date: Wed, 11 Apr 2012 01:10:53 +0000 Subject: 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 --- test/MC/X86/x86-64.s | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/MC/X86/x86-64.s') 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 -- cgit v1.1