Displaying 3 results from an estimated 3 matches for "hasfma".
Did you mean:
hasfmad
2013 Jan 11
3
[LLVMdev] Documentation of fmuladd intrinsic
....
>
>
Hey Andrew,
I believe that the term "legal" is associated with the Legalize phase.
Please see:
http://llvm.org/docs/CodeGenerator.html#selectiondag-legalize-phase
The x86 backend has a good example of this
in llvm/lib/Target/X86/X86ISelLowering.cpp:
> if (Subtarget->hasFMA()) {
> // Support FMAs!
> setOperationAction(ISD::FMA, MVT::f64, Legal);
> setOperationAction(ISD::FMA, MVT::f32, Legal);
> }
> else {
> // We don't support FMA.
> setOperationAction(ISD::FMA, MVT::f64, Expand);
> setOperationAction(ISD::FMA, MVT::f32...
2013 Jan 11
0
[LLVMdev] Documentation of fmuladd intrinsic
...ot; is associated with the Legalize
> phase. Please see:
>
>
> http://llvm.org/docs/CodeGenerator.html#selectiondag-legalize-phase
>
>
> The x86 backend has a good example of this in
> llvm/lib/Target/X86/X86ISelLowering.cpp:
>
>
>
> > if (Subtarget->hasFMA()) {
> > // Support FMAs!
> > setOperationAction(ISD::FMA, MVT::f64, Legal);
> > setOperationAction(ISD::FMA, MVT::f32, Legal);
> > }
> > else {
> > // We don't support FMA.
> > setOperationAction(ISD::FMA, MVT::f64, Expand);
> > setOperationActio...
2013 Jan 11
3
[LLVMdev] Documentation of fmuladd intrinsic
...Please see:
> >
> >
> > http://llvm.org/docs/CodeGenerator.html#selectiondag-legalize-phase
> >
> >
> > The x86 backend has a good example of this in
> > llvm/lib/Target/X86/X86ISelLowering.cpp:
> >
> >
> >
> > > if (Subtarget->hasFMA()) {
> > > // Support FMAs!
> > > setOperationAction(ISD::FMA, MVT::f64, Legal);
> > > setOperationAction(ISD::FMA, MVT::f32, Legal);
> > > }
> > > else {
> > > // We don't support FMA.
> > > setOperationAction(ISD::FMA, MVT::f64, E...