Home | History | Annotate | Download | only in X86

Lines Matching full:fma

1 ; RUN: llc < %s -mtriple=i386-apple-darwin10  -mattr=+fma,-fma4  | FileCheck %s --check-prefix=CHECK-FMA-INST
2 ; RUN: llc < %s -mtriple=i386-apple-darwin10 -mattr=-fma,-fma4 | FileCheck %s --check-prefix=CHECK-FMA-CALL
3 ; RUN: llc < %s -mtriple=x86_64-apple-darwin10 -mattr=+fma,-fma4 | FileCheck %s --check-prefix=CHECK-FMA-INST
4 ; RUN: llc < %s -mtriple=x86_64-apple-darwin10 -mattr=-fma,-fma4 | FileCheck %s --check-prefix=CHECK-FMA-CALL
5 ; RUN: llc < %s -march=x86 -mcpu=bdver2 -mattr=-fma4 | FileCheck %s --check-prefix=CHECK-FMA-INST
6 ; RUN: llc < %s -march=x86 -mcpu=bdver2 -mattr=-fma,-fma4 | FileCheck %s --check-prefix=CHECK-FMA-CALL
9 ; CHECK-FMA-INST: vfmadd213ss
10 ; CHECK-FMA-CALL: fmaf
14 %call = tail call float @llvm.fma.f32(float %a, float %b, float %c) nounwind readnone
19 ; CHECK-FMA-INST: vfmadd213sd
20 ; CHECK-FMA-CALL: fma
24 %call = tail call double @llvm.fma.f64(double %a, double %b, double %c) nounwind readnone
33 %call = tail call x86_fp80 @llvm.fma.f80(x86_fp80 %a, x86_fp80 %b, x86_fp80 %c) nounwind readnone
38 ; CHECK-NOT: fma
41 %call = tail call float @llvm.fma.f32(float 3.0, float 3.0, float 3.0) nounwind readnone
53 %acc = tail call float @llvm.fma.f32(float %x, float %y, float %acc.01) nounwind readnone
68 %add = tail call <4 x double> @llvm.fma.v4f64(<4 x double> %x, <4 x double> %y, <4 x double> %acc.04)
77 declare float @llvm.fma.f32(float, float, float) nounwind readnone
78 declare double @llvm.fma.f64(double, double, double) nounwind readnone
79 declare x86_fp80 @llvm.fma.f80(x86_fp80, x86_fp80, x86_fp80) nounwind readnone
80 declare <4 x double> @llvm.fma.v4f64(<4 x double>, <4 x double>, <4 x double>) nounwind readnone