diff options
| author | Michael Zuckerman <Michael.zuckerman@intel.com> | 2015-11-12 16:58:51 +0000 |
|---|---|---|
| committer | Michael Zuckerman <Michael.zuckerman@intel.com> | 2015-11-12 16:58:51 +0000 |
| commit | fd3fe9e45aeadd4cfb41966c7bd5e7c36c687ab0 (patch) | |
| tree | 1e50a85aa0abdd37327e94638dc44dea5cde5b9e /llvm/test/MC/X86/intel-syntax-2.s | |
| parent | 8455cf0142d9ccc150bcdee7ed0633b8f2bec626 (diff) | |
| download | bcm5719-llvm-fd3fe9e45aeadd4cfb41966c7bd5e7c36c687ab0.tar.gz bcm5719-llvm-fd3fe9e45aeadd4cfb41966c7bd5e7c36c687ab0.zip | |
[x86] translating "fp" (floating point) instructions from {fadd,fdiv,fmul,fsub,fsubr,fdivr} to {faddp,fdivp,fmulp,fsubp,fsubrp,fdivrp}
LLVM Missing the following instructions: fadd\fdiv\fmul\fsub\fsubr\fdivr.
GAS and MS supporting this instruction and lowering them in to a faddp\fdivp\fmulp\fsubp\fsubrp\fdivrp instructions.
Differential Revision: http://reviews.llvm.org/D14217
llvm-svn: 252908
Diffstat (limited to 'llvm/test/MC/X86/intel-syntax-2.s')
| -rw-r--r-- | llvm/test/MC/X86/intel-syntax-2.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/test/MC/X86/intel-syntax-2.s b/llvm/test/MC/X86/intel-syntax-2.s index f7bdaf92dbb..aead5766db4 100644 --- a/llvm/test/MC/X86/intel-syntax-2.s +++ b/llvm/test/MC/X86/intel-syntax-2.s @@ -15,3 +15,17 @@ _test2: .att_syntax prefix movl $255, -4(%rsp) // CHECK: movl $255, -4(%rsp) + +_test3: +fadd +// CHECK: faddp %st(1) +fmul +// CHECK: fmulp %st(1) +fsub +// CHECK: fsubp %st(1) +fsubr +// CHECK: fsubrp %st(1) +fdiv +// CHECK: fdivp %st(1) +fdivr +// CHECK: fdivrp %st(1) |

