------- Comment #2 from jakub at gcc dot gnu dot org  2010-05-31 09:15 -------
The problem is that all the fma4 insns are guarded with not just TARGET_FMA4,
but TARGET_FMA4 && TARGET_FUSED_MADD.  But the builtins are guarded just with
OPTION_MASK_ISA_FMA4.

So, for -mno-fused-madd either we should ensure fma4intrin.h is not included
(or, at least not its fma intrinsics (currently all intrinsics in the header
file)) and the builtins expand to nothing, or for -mfma4 -mno-fused-madd expand
the intrinsics as non-fused insns (multiplication followed by addition or
similar).


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjagasia at gcc dot gnu dot
                   |                            |org, spop at gcc dot gnu dot
                   |                            |org
         AssignedTo|jakub at gcc dot gnu dot org|unassigned at gcc dot gnu
                   |                            |dot org
             Status|ASSIGNED                    |NEW


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44338

Reply via email to