[llvm-commits] Please review: FMA3 instructions set

Peter Cooper peter_cooper at apple.com
Wed May 23 10:34:37 PDT 2012


Ooops, sorry, i'm getting my scalar and vector intrinsics mixed up.

As we do all x86 FP arithmetic in the SIMD unit it would be a nice optimization to also match these llvm.fma.f32/64 intrinsics to the new instructions, but please disregard the comment about possibly removing the intrinsics you already support.

Thanks,
Pete
On May 23, 2012, at 7:30 AM, "Demikhovsky, Elena" <elena.demikhovsky at intel.com> wrote:

> I did not update llvm.fma.f32/64. Should it be directly mapped to a scalar instruction, like int_x86_fma4_vfmadd_ss int_x86_fma4_vfmadd_sd ?
> 
> 
> - Elena
> 
> -----Original Message-----
> From: Peter Cooper [mailto:peter_cooper at apple.com] 
> Sent: Wednesday, May 23, 2012 01:00
> To: Demikhovsky, Elena
> Cc: llvm-commits at cs.uiuc.edu
> Subject: Re: [llvm-commits] Please review: FMA3 instructions set
> 
> Hi Elena
> 
> I notice you make use of the x86 fma intrinsic.  Can you also please make sure your code works with the llvm.fma.f32 and llvm.fma.f64 intrinsics.  An example for these is already in X86/fma.ll.
> 
> Note we may also want to remove some of the intrinsics you have if they are identical behaviorally to llvm.fma.f32/64.
> 
> Thanks,
> Pete
> On May 22, 2012, at 4:51 AM, "Demikhovsky, Elena" <elena.demikhovsky at intel.com> wrote:
> 
>> <fma.diff>
> 
> ---------------------------------------------------------------------
> Intel Israel (74) Limited
> 
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
> 




More information about the llvm-commits mailing list