By intel spec
authorMichael Zuckerman <Michael.zuckerman@intel.com>
Wed, 2 Dec 2015 14:34:34 +0000 (14:34 +0000)
committerMichael Zuckerman <Michael.zuckerman@intel.com>
Wed, 2 Dec 2015 14:34:34 +0000 (14:34 +0000)
commita933a559f6e509c1a55cf3824ddf7635538ebf1d
treebedada71cc95d1f4d72a10f612018b41a5f5d479
parent3fe37662ad60efa7faa432de8e7e86ca73d85d8d
By intel spec

|9B DD /7| FSTSW m2byte| Valid Valid Store FPU status word at m2byteafter checking for pending unmasked floating-point exceptions.|
|9B DF E0| FSTSW AX| Valid Valid Store FPU status word in AX register after checking for pending unmasked floating-point exceptions.|
|DD /7 |FNSTSW *m2byte| Valid Valid Store FPU status word at m2bytewithout checking for pending unmasked floating-point exceptions.|
|DF E0 |FNSTSW *AX| Valid Valid Store FPU status word in AX register without checking for pending unmasked floating-point exceptions|

m2byte is word register, and therefor instruction operand need to be change from f32mem to i16mem.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254512 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrFPStack.td