Re: PATCH [x86_64] PR20020 - 128 bit structs not targeted to TImode

2012-08-15 Thread H.J. Lu
On Tue, Aug 14, 2012 at 2:34 PM, Gary Funck g...@intrepid.com wrote: Attached, is an updated patch (with change logs). The test cases are now in gcc.target/i386 and the target selection is dg-require-effective-target int128 only. Verified that the tests correctly detect the presence/lack of

Re: PATCH [x86_64] PR20020 - 128 bit structs not targeted to TImode

2012-08-14 Thread Jakub Jelinek
On Mon, Aug 13, 2012 at 09:20:32PM -0700, Gary Funck wrote: --- gcc/testsuite/gcc.dg/pr20020-1.c (revision 0) +++ gcc/testsuite/gcc.dg/pr20020-1.c (revision 0) @@ -0,0 +1,25 @@ +/* Target is restricted to x86_64 type architectures, + to check that 128-bit struct's are represented + as

Re: PATCH [x86_64] PR20020 - 128 bit structs not targeted to TImode

2012-08-14 Thread Gary Funck
On 08/14/12 08:30:59, Jakub Jelinek wrote: On Mon, Aug 13, 2012 at 09:20:32PM -0700, Gary Funck wrote: --- gcc/testsuite/gcc.dg/pr20020-1.c(revision 0) +++ gcc/testsuite/gcc.dg/pr20020-1.c(revision 0) @@ -0,0 +1,25 @@ +/* Target is restricted to x86_64 type architectures,

Re: PATCH [x86_64] PR20020 - 128 bit structs not targeted to TImode

2012-08-14 Thread Joseph S. Myers
On Tue, 14 Aug 2012, Jakub Jelinek wrote: On Mon, Aug 13, 2012 at 09:20:32PM -0700, Gary Funck wrote: --- gcc/testsuite/gcc.dg/pr20020-1.c(revision 0) +++ gcc/testsuite/gcc.dg/pr20020-1.c(revision 0) @@ -0,0 +1,25 @@ +/* Target is restricted to x86_64 type architectures,

Re: PATCH [x86_64] PR20020 - 128 bit structs not targeted to TImode

2012-08-14 Thread Gary Funck
On 08/14/12 15:33:10, Joseph S. Myers wrote: On Tue, 14 Aug 2012, Jakub Jelinek wrote: On Mon, Aug 13, 2012 at 09:20:32PM -0700, Gary Funck wrote: --- gcc/testsuite/gcc.dg/pr20020-1.c (revision 0) +++ gcc/testsuite/gcc.dg/pr20020-1.c (revision 0) @@ -0,0 +1,25 @@ +/*

Re: PATCH [x86_64] PR20020 - 128 bit structs not targeted to TImode

2012-08-14 Thread H.J. Lu
On Tue, Aug 14, 2012 at 9:12 AM, Gary Funck g...@intrepid.com wrote: On 08/14/12 15:33:10, Joseph S. Myers wrote: On Tue, 14 Aug 2012, Jakub Jelinek wrote: On Mon, Aug 13, 2012 at 09:20:32PM -0700, Gary Funck wrote: --- gcc/testsuite/gcc.dg/pr20020-1.c (revision 0) +++

Re: PATCH [x86_64] PR20020 - 128 bit structs not targeted to TImode

2012-08-14 Thread Gary Funck
Attached, is an updated patch (with change logs). The test cases are now in gcc.target/i386 and the target selection is dg-require-effective-target int128 only. Verified that the tests correctly detect the presence/lack of TImode support. - Gary Index: gcc/config/i386/i386.h

PATCH [x86_64] PR20020 - 128 bit structs not targeted to TImode

2012-08-13 Thread Gary Funck
Attached, is a patch to fix PR20020, and three test cases. This patch improves the code generated for structs that can be represented in a TImode value on an x86_64 target. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20020 The test cases scan the generated RTL and verify that TImode operations