public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39119]  New: Update classification of aggregates with __m256
@ 2009-02-06 15:11 hjl dot tools at gmail dot com
  2009-02-06 15:13 ` [Bug target/39119] " hjl dot tools at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-02-06 15:11 UTC (permalink / raw)
  To: gcc-bugs

We want to pass aggregates of 32 bytes with single __m256 field
in AVX registers, instead of memory. The proposed psABI change is
at

http://gcc.gnu.org/ml/gcc/2009-02/msg00058.html


-- 
           Summary: Update classification of aggregates with __m256
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com
GCC target triplet: x86-64-unknown-linux-gnu


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/39119] Update classification of aggregates with __m256
  2009-02-06 15:11 [Bug target/39119] New: Update classification of aggregates with __m256 hjl dot tools at gmail dot com
@ 2009-02-06 15:13 ` hjl dot tools at gmail dot com
  2009-02-08 18:04 ` hjl at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-02-06 15:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl dot tools at gmail dot com  2009-02-06 15:13 -------
The gcc patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2009-02/msg00209.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |hjl dot tools at gmail dot
                   |dot org                     |com
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2009-
                   |                            |02/msg00209.html
           Priority|P3                          |P1
   Target Milestone|---                         |4.4.0


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/39119] Update classification of aggregates with __m256
  2009-02-06 15:11 [Bug target/39119] New: Update classification of aggregates with __m256 hjl dot tools at gmail dot com
  2009-02-06 15:13 ` [Bug target/39119] " hjl dot tools at gmail dot com
@ 2009-02-08 18:04 ` hjl at gcc dot gnu dot org
  2009-02-10 14:01 ` hjl at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl at gcc dot gnu dot org @ 2009-02-08 18:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl at gcc dot gnu dot org  2009-02-08 18:04 -------
Subject: Bug 39119

Author: hjl
Date: Sun Feb  8 18:03:58 2009
New Revision: 144017

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144017
Log:
gcc/

2009-02-08  H.J. Lu  <hongjiu.lu@intel.com>

        PR target/39119
        * config/i386/i386.c (x86_64_reg_class): Remove X86_64_AVX_CLASS.
        (x86_64_reg_class_name): Removed.
        (classify_argument): Return 0 if bytes > 32.  Return 0 if the
        first one isn't X86_64_SSE_CLASS or any other ones aren't
        X86_64_SSEUP_CLASS when size > 16bytes.  Don't turn
        X86_64_SSEUP_CLASS into X86_64_SSE_CLASS if the preceded one
        is X86_64_SSEUP_CLASS.  Set AVX modes to 1 X86_64_SSE_CLASS
        and 3 X86_64_SSEUP_CLASS.
        (construct_container): Remove X86_64_AVX_CLASS.  Handle 4
        registers with 1 X86_64_SSE_CLASS and 3 X86_64_SSEUP_CLASS.

gcc/testsuite/

2009-02-08  H.J. Lu  <hongjiu.lu@intel.com>

        PR target/39119
        * gcc.target/x86_64/abi/avx/abi-avx.exp: New.
        * gcc.target/x86_64/abi/avx/args.h: Likewise.
        * gcc.target/x86_64/abi/avx/asm-support.S: Likewise.
        * gcc.target/x86_64/abi/avx/avx-check.h: Likewise.
        * gcc.target/x86_64/abi/avx/test_m256_returning.c: Likewise.
        * gcc.target/x86_64/abi/avx/test_passing_m256.c: Likewise.
        * gcc.target/x86_64/abi/avx/test_passing_structs.c: Likewise.
        * gcc.target/x86_64/abi/avx/test_passing_unions.c: Likewise.

Added:
    branches/ix86/avx/gcc/testsuite/gcc.target/x86_64/abi/avx/
    branches/ix86/avx/gcc/testsuite/gcc.target/x86_64/abi/avx/abi-avx.exp
    branches/ix86/avx/gcc/testsuite/gcc.target/x86_64/abi/avx/args.h
    branches/ix86/avx/gcc/testsuite/gcc.target/x86_64/abi/avx/asm-support.S
    branches/ix86/avx/gcc/testsuite/gcc.target/x86_64/abi/avx/avx-check.h
   
branches/ix86/avx/gcc/testsuite/gcc.target/x86_64/abi/avx/test_m256_returning.c
   
branches/ix86/avx/gcc/testsuite/gcc.target/x86_64/abi/avx/test_passing_m256.c
   
branches/ix86/avx/gcc/testsuite/gcc.target/x86_64/abi/avx/test_passing_structs.c
   
branches/ix86/avx/gcc/testsuite/gcc.target/x86_64/abi/avx/test_passing_unions.c
Modified:
    branches/ix86/avx/gcc/ChangeLog.avx
    branches/ix86/avx/gcc/config/i386/i386.c
    branches/ix86/avx/gcc/testsuite/ChangeLog.avx


-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/39119] Update classification of aggregates with __m256
  2009-02-06 15:11 [Bug target/39119] New: Update classification of aggregates with __m256 hjl dot tools at gmail dot com
  2009-02-06 15:13 ` [Bug target/39119] " hjl dot tools at gmail dot com
  2009-02-08 18:04 ` hjl at gcc dot gnu dot org
@ 2009-02-10 14:01 ` hjl at gcc dot gnu dot org
  2009-02-10 14:38 ` hjl dot tools at gmail dot com
  2009-02-10 14:38 ` hjl dot tools at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: hjl at gcc dot gnu dot org @ 2009-02-10 14:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hjl at gcc dot gnu dot org  2009-02-10 14:01 -------
Subject: Bug 39119

Author: hjl
Date: Tue Feb 10 14:00:46 2009
New Revision: 144058

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144058
Log:
gcc/

2009-02-10  H.J. Lu  <hongjiu.lu@intel.com>

        PR target/39119
        * config/i386/i386.c (x86_64_reg_class): Remove X86_64_AVX_CLASS.
        (x86_64_reg_class_name): Removed.
        (classify_argument): Return 0 if bytes > 32.  Return 0 if the
        first one isn't X86_64_SSE_CLASS or any other ones aren't
        X86_64_SSEUP_CLASS when size > 16bytes.  Don't turn
        X86_64_SSEUP_CLASS into X86_64_SSE_CLASS if the preceded one
        is X86_64_SSEUP_CLASS.  Set AVX modes to 1 X86_64_SSE_CLASS
        and 3 X86_64_SSEUP_CLASS.
        (construct_container): Remove X86_64_AVX_CLASS.  Handle 4
        registers with 1 X86_64_SSE_CLASS and 3 X86_64_SSEUP_CLASS.

gcc/testsuite/

2009-02-10  H.J. Lu  <hongjiu.lu@intel.com>

        PR target/39119
        * gcc.target/x86_64/abi/avx/abi-avx.exp: New.
        * gcc.target/x86_64/abi/avx/args.h: Likewise.
        * gcc.target/x86_64/abi/avx/asm-support.S: Likewise.
        * gcc.target/x86_64/abi/avx/avx-check.h: Likewise.
        * gcc.target/x86_64/abi/avx/test_m256_returning.c: Likewise.
        * gcc.target/x86_64/abi/avx/test_passing_m256.c: Likewise.
        * gcc.target/x86_64/abi/avx/test_passing_structs.c: Likewise.
        * gcc.target/x86_64/abi/avx/test_passing_unions.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.target/x86_64/abi/avx/
    trunk/gcc/testsuite/gcc.target/x86_64/abi/avx/abi-avx.exp
    trunk/gcc/testsuite/gcc.target/x86_64/abi/avx/args.h
    trunk/gcc/testsuite/gcc.target/x86_64/abi/avx/asm-support.S
    trunk/gcc/testsuite/gcc.target/x86_64/abi/avx/avx-check.h
    trunk/gcc/testsuite/gcc.target/x86_64/abi/avx/test_m256_returning.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/avx/test_passing_m256.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/avx/test_passing_structs.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/avx/test_passing_unions.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/39119] Update classification of aggregates with __m256
  2009-02-06 15:11 [Bug target/39119] New: Update classification of aggregates with __m256 hjl dot tools at gmail dot com
                   ` (3 preceding siblings ...)
  2009-02-10 14:38 ` hjl dot tools at gmail dot com
@ 2009-02-10 14:38 ` hjl dot tools at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-02-10 14:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from hjl dot tools at gmail dot com  2009-02-10 14:38 -------
Fixed.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/39119] Update classification of aggregates with __m256
  2009-02-06 15:11 [Bug target/39119] New: Update classification of aggregates with __m256 hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  2009-02-10 14:01 ` hjl at gcc dot gnu dot org
@ 2009-02-10 14:38 ` hjl dot tools at gmail dot com
  2009-02-10 14:38 ` hjl dot tools at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-02-10 14:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from hjl dot tools at gmail dot com  2009-02-10 14:38 -------
Fixed.


-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-02-10 14:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-06 15:11 [Bug target/39119] New: Update classification of aggregates with __m256 hjl dot tools at gmail dot com
2009-02-06 15:13 ` [Bug target/39119] " hjl dot tools at gmail dot com
2009-02-08 18:04 ` hjl at gcc dot gnu dot org
2009-02-10 14:01 ` hjl at gcc dot gnu dot org
2009-02-10 14:38 ` hjl dot tools at gmail dot com
2009-02-10 14:38 ` hjl dot tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).