dding test for fnstsw
authorMichael Zuckerman <Michael.zuckerman@intel.com>
Tue, 8 Dec 2015 12:00:24 +0000 (12:00 +0000)
committerMichael Zuckerman <Michael.zuckerman@intel.com>
Tue, 8 Dec 2015 12:00:24 +0000 (12:00 +0000)
continue of Wrong FNSTSW size operator
url: http://reviews.llvm.org/D14953

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255007 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/X86/intel-syntax.s

index 001a26d..c7ec77e 100644 (file)
@@ -489,10 +489,12 @@ test [ECX], AL
 // CHECK: fnstsw %ax
 // CHECK: fnstsw %ax
 // CHECK: fnstsw %ax
+// CHECK: fnstsw (%eax)
 fnstsw
 fnstsw AX
 fnstsw EAX
 fnstsw AL
+fnstsw WORD PTR [EAX]
 
 // CHECK: faddp %st(1)
 // CHECK: fmulp %st(1)