public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/30211]  New: missed optimization: model missing vec_extract_even/odd idioms for ia64
@ 2006-12-14 12:24 irar at il dot ibm dot com
  2006-12-21 18:45 ` [Bug target/30211] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: irar at il dot ibm dot com @ 2006-12-14 12:24 UTC (permalink / raw)
  To: gcc-bugs

vec_extract_even/odd are not implemented on ia64. They are used in
vectorization of strided loads, and are implemented only on powerpc (patch
http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01679.html (revision 119088)).

The implementation exists on autovect-branch, but it possibly can be more
efficient (http://gcc.gnu.org/ml/gcc-patches/2006-09/msg01278.html):

2005-12-01  Richard Henderson  <rth@redhat.com>

        * targhooks.c (interleave_vectorize_builtin_extract_evenodd): New.
        (interleave_vectorize_builtin_extract_even): New.
        (interleave_vectorize_builtin_extract_odd): New.
        * targhooks.h: Declare them.
        * config/i386/i386.c (TARGET_VECTORIZE_BUILTIN_EXTRACT_EVEN): New.
        (TARGET_VECTORIZE_BUILTIN_EXTRACT_ODD): New.

2005-12-02  Richard Henderson  <rth@redhat.com>

        * config/ia64/ia64.c (TARGET_VECTORIZE_BUILTIN_EXTRACT_EVEN): New.
        (TARGET_VECTORIZE_BUILTIN_EXTRACT_ODD): New.

2006-09-28  Ira Rosen  <irar@il.ibm.com>

        * targhooks.c (interleave_vectorize_builtin_extract_evenodd):
        Fix to produce a correct instructions sequence. 
        * tree-vect-transform.c (vect_permute_store_chain): Choose the
        correct instruction according to the endianness. Call
        mark_new_vars_to_rename.

Once the above is merged, we can add ia64 to the list of targets that support
check_effective_target_vect_extract_even_odd in
testsuite/lib/target-support.exp.

Ira


-- 
           Summary: missed optimization: model missing vec_extract_even/odd
                    idioms for ia64
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: irar at il dot ibm dot com
 GCC build triplet: ia64-*-*
  GCC host triplet: ia64-*-*
GCC target triplet: ia64-*-*


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


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

* [Bug target/30211] model missing vec_extract_even/odd idioms for ia64
  2006-12-14 12:24 [Bug target/30211] New: missed optimization: model missing vec_extract_even/odd idioms for ia64 irar at il dot ibm dot com
@ 2006-12-21 18:45 ` pinskia at gcc dot gnu dot org
  2008-07-29 21:55 ` victork at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-21 18:45 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |missed-optimization
   Last reconfirmed|0000-00-00 00:00:00         |2006-12-21 18:45:41
               date|                            |
            Summary|missed optimization: model  |model missing
                   |missing vec_extract_even/odd|vec_extract_even/odd idioms
                   |idioms for ia64             |for ia64


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


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

* [Bug target/30211] model missing vec_extract_even/odd idioms for ia64
  2006-12-14 12:24 [Bug target/30211] New: missed optimization: model missing vec_extract_even/odd idioms for ia64 irar at il dot ibm dot com
  2006-12-21 18:45 ` [Bug target/30211] " pinskia at gcc dot gnu dot org
@ 2008-07-29 21:55 ` victork at gcc dot gnu dot org
  2008-08-04 11:17 ` [Bug target/30211] model missing vec_extract_even/odd idioms for ia64 and x86_64 victork at gcc dot gnu dot org
  2008-08-04 11:55 ` [Bug target/30211] model missing vec_extract_even/odd idioms for ia64 ubizjak at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: victork at gcc dot gnu dot org @ 2008-07-29 21:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from victork at gcc dot gnu dot org  2008-07-29 21:54 -------
*** Bug 35252 has been marked as a duplicate of this bug. ***


-- 

victork at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ubizjak at gmail dot com


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


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

* [Bug target/30211] model missing vec_extract_even/odd idioms for ia64 and x86_64
  2006-12-14 12:24 [Bug target/30211] New: missed optimization: model missing vec_extract_even/odd idioms for ia64 irar at il dot ibm dot com
  2006-12-21 18:45 ` [Bug target/30211] " pinskia at gcc dot gnu dot org
  2008-07-29 21:55 ` victork at gcc dot gnu dot org
@ 2008-08-04 11:17 ` victork at gcc dot gnu dot org
  2008-08-04 11:55 ` [Bug target/30211] model missing vec_extract_even/odd idioms for ia64 ubizjak at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: victork at gcc dot gnu dot org @ 2008-08-04 11:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from victork at gcc dot gnu dot org  2008-08-04 11:15 -------
*** Bug 36840 has been marked as a duplicate of this bug. ***


-- 

victork at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rajiv dot adhikary at amd
                   |                            |dot com


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


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

* [Bug target/30211] model missing vec_extract_even/odd idioms for ia64
  2006-12-14 12:24 [Bug target/30211] New: missed optimization: model missing vec_extract_even/odd idioms for ia64 irar at il dot ibm dot com
                   ` (2 preceding siblings ...)
  2008-08-04 11:17 ` [Bug target/30211] model missing vec_extract_even/odd idioms for ia64 and x86_64 victork at gcc dot gnu dot org
@ 2008-08-04 11:55 ` ubizjak at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: ubizjak at gmail dot com @ 2008-08-04 11:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ubizjak at gmail dot com  2008-08-04 11:53 -------
vec_extract_odd/vec_extract_even expanders for x86_64 and i686 were added for
4.4 in http://gcc.gnu.org/viewcvs?view=rev&revision=138553

Updating Summary and Target fields.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|ia64-*-*, x86_64-*-*, i?86- |ia64-*-*
                   |*-*                         |
            Summary|model missing               |model missing
                   |vec_extract_even/odd idioms |vec_extract_even/odd idioms
                   |for ia64 and x86_64         |for ia64


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


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

end of thread, other threads:[~2008-08-04 11:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-14 12:24 [Bug target/30211] New: missed optimization: model missing vec_extract_even/odd idioms for ia64 irar at il dot ibm dot com
2006-12-21 18:45 ` [Bug target/30211] " pinskia at gcc dot gnu dot org
2008-07-29 21:55 ` victork at gcc dot gnu dot org
2008-08-04 11:17 ` [Bug target/30211] model missing vec_extract_even/odd idioms for ia64 and x86_64 victork at gcc dot gnu dot org
2008-08-04 11:55 ` [Bug target/30211] model missing vec_extract_even/odd idioms for ia64 ubizjak 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).