[Bug target/20020] x86_64 - 128 bit structs not targeted to TImode

gary at intrepid dot com gcc-bugzilla@gcc.gnu.org
Sun Aug 12 22:09:00 GMT 2012


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

--- Comment #25 from Gary Funck <gary at intrepid dot com> 2012-08-12 22:08:50 UTC ---
(In reply to comment #20)
> X86 doesn't support __int128 and requires SSE for TImode.
> We may need to limit those testcases for int128 target.

If targeting struct's to TImode is supported on x86 targets then perhaps this
definition will need to be refer to 128 bit target support?

#define MAX_FIXED_MODE_SIZE GET_MODE_BITSIZE (TARGET_64BIT ? TImode : DImode)

Off-hand, I don't know the target macro that does this.

something like this?

#define MAX_FIXED_MODE_SIZE targetm.scalar_mode_supported_p (TImode) ? TImode :
DImoe



More information about the Gcc-bugs mailing list