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

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Aug 12 19:51:00 GMT 2012


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

--- Comment #20 from H.J. Lu <hjl.tools at gmail dot com> 2012-08-12 19:50:08 UTC ---
(In reply to comment #19)
> (In reply to comment #15)
> > Do we have a run-time testcase?
> 
> I attached three compile-time test cases that check if the generated RTL refers
> to TImode values.  The test cases are set up to only run on x86_64 and x86
> targets. I confirmed that they work as expected on an x86_64 target (with and
> without the MAX_FIXED_MODE_SIZE patch).  Not sure if it will work on x86 or
> not.  The test case may have to be tweaked for x86.

X86 doesn't support __int128 and requires SSE for TImode.
We may need to limit those testcases for int128 target.

> Is this sufficient?  I don't know how a run-time test would demonstrate the use
> of TImode, except in the form of a benchmark.

If it is an ABI, we can add a testcase to gcc.target/x86_64/abi
for x86-64.  If there is no additional issues for x86-64, I think
we can close it after checking in those testcases.



More information about the Gcc-bugs mailing list