[x86 asm] allow fwait alias in both At&t and Intel modes (PR21208)

Differential Revision: http://reviews.llvm.org/D5741

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219725 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Hans Wennborg 2014-10-14 21:41:17 +00:00
parent eddeac0b8c
commit 76806748d4
2 changed files with 5 additions and 1 deletions

View File

@ -2510,7 +2510,7 @@ def : MnemonicAlias<"fldcww", "fldcw", "att">;
def : MnemonicAlias<"fnstcww", "fnstcw", "att">;
def : MnemonicAlias<"fnstsww", "fnstsw", "att">;
def : MnemonicAlias<"fucomip", "fucompi", "att">;
def : MnemonicAlias<"fwait", "wait", "att">;
def : MnemonicAlias<"fwait", "wait">;
class CondCodeAlias<string Prefix,string Suffix, string OldCond, string NewCond,

View File

@ -90,4 +90,8 @@ _t21: ## @t21
// CHECK: popal
// CHECK: # encoding: [0x61]
fwait
// CHECK: wait
// CHECK: # encoding: [0x9b]
ret