public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/18510] New: GCC should have instrinsics for SPARC VIS instructions
@ 2004-11-16  0:25 phython at gcc dot gnu dot org
  2004-11-16  0:36 ` [Bug target/18510] " phython at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-11-16  0:25 UTC (permalink / raw)
  To: gcc-bugs

GCC currently doesn't have any builtin functions to access SPARCs VIS
instructions.  It should have nice functions for instructions such as
fpack{16,32,fix}  .

-- 
           Summary: GCC should have instrinsics for SPARC VIS instructions
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: phython at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: sparc*--


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


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

* [Bug target/18510] GCC should have instrinsics for SPARC VIS instructions
  2004-11-16  0:25 [Bug target/18510] New: GCC should have instrinsics for SPARC VIS instructions phython at gcc dot gnu dot org
@ 2004-11-16  0:36 ` phython at gcc dot gnu dot org
  2004-11-16  4:17 ` phython at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-11-16  0:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-11-16 00:36 -------
Created an attachment (id=7551)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7551&action=view)
VIS intrinsics patch, fails in recog

 This patch gets GCC to the point where recog fails to recognize the
fpack{16,32} instructions, but the builtins are expanded.

-- 


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


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

* [Bug target/18510] GCC should have instrinsics for SPARC VIS instructions
  2004-11-16  0:25 [Bug target/18510] New: GCC should have instrinsics for SPARC VIS instructions phython at gcc dot gnu dot org
  2004-11-16  0:36 ` [Bug target/18510] " phython at gcc dot gnu dot org
@ 2004-11-16  4:17 ` phython at gcc dot gnu dot org
  2004-11-16 13:41 ` phython at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-11-16  4:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-11-16 04:17 -------
 Having sparc_expand_builtin return target/op[0] instead of pat makes gets rid
of the problems in extract_insn.

-- 


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


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

* [Bug target/18510] GCC should have instrinsics for SPARC VIS instructions
  2004-11-16  0:25 [Bug target/18510] New: GCC should have instrinsics for SPARC VIS instructions phython at gcc dot gnu dot org
  2004-11-16  0:36 ` [Bug target/18510] " phython at gcc dot gnu dot org
  2004-11-16  4:17 ` phython at gcc dot gnu dot org
@ 2004-11-16 13:41 ` phython at gcc dot gnu dot org
  2004-11-16 13:43 ` phython at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-11-16 13:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-11-16 13:40 -------
Created an attachment (id=7558)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7558&action=view)
SPARC VIS intrinsics

 This patch doesn't fail in recog and passes the attached tests.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #7551 is|0                           |1
           obsolete|                            |


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


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

* [Bug target/18510] GCC should have instrinsics for SPARC VIS instructions
  2004-11-16  0:25 [Bug target/18510] New: GCC should have instrinsics for SPARC VIS instructions phython at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-11-16 13:41 ` phython at gcc dot gnu dot org
@ 2004-11-16 13:43 ` phython at gcc dot gnu dot org
  2004-11-16 13:55 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-11-16 13:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-11-16 13:43 -------
Created an attachment (id=7559)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7559&action=view)
Testcases


-- 


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


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

* [Bug target/18510] GCC should have instrinsics for SPARC VIS instructions
  2004-11-16  0:25 [Bug target/18510] New: GCC should have instrinsics for SPARC VIS instructions phython at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-11-16 13:43 ` phython at gcc dot gnu dot org
@ 2004-11-16 13:55 ` pinskia at gcc dot gnu dot org
  2004-11-20 20:00 ` phython at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-16 13:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-16 13:55 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-16 13:55:15
               date|                            |


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


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

* [Bug target/18510] GCC should have instrinsics for SPARC VIS instructions
  2004-11-16  0:25 [Bug target/18510] New: GCC should have instrinsics for SPARC VIS instructions phython at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-11-16 13:55 ` pinskia at gcc dot gnu dot org
@ 2004-11-20 20:00 ` phython at gcc dot gnu dot org
  2004-11-23  2:12 ` phython at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-11-20 20:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-11-20 20:00 -------
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01653.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug target/18510] GCC should have instrinsics for SPARC VIS instructions
  2004-11-16  0:25 [Bug target/18510] New: GCC should have instrinsics for SPARC VIS instructions phython at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-11-20 20:00 ` phython at gcc dot gnu dot org
@ 2004-11-23  2:12 ` phython at gcc dot gnu dot org
  2004-11-26 13:18 ` cvs-commit at gcc dot gnu dot org
  2004-11-26 15:24 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-11-23  2:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-11-23 02:12 -------
Most VIS intructions now have intrinsics.  edge* and array* intructions don't
nor do the compare instructions.  I'm hopeful the comparison instructions can be
done without intrinsics, but I'm not sure.  I still don't have a clue how the
edge and array instructions are supposed to be use, so I've avoided dealing with
them.

 The documentation at least needs to be fixed before I close this bug.

The cvs commit is at.
http://gcc.gnu.org/ml/gcc-cvs/2004-11/msg01053.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|patch                       |


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


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

* [Bug target/18510] GCC should have instrinsics for SPARC VIS instructions
  2004-11-16  0:25 [Bug target/18510] New: GCC should have instrinsics for SPARC VIS instructions phython at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-11-23  2:12 ` phython at gcc dot gnu dot org
@ 2004-11-26 13:18 ` cvs-commit at gcc dot gnu dot org
  2004-11-26 15:24 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-26 13:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-26 13:18 -------
Subject: Bug 18510

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	phython@gcc.gnu.org	2004-11-26 13:18:16

Modified files:
	gcc            : ChangeLog 
	gcc/doc        : extend.texi 

Log message:
	2004-11-26  James A. Morrison  <phython@gcc.gnu.org>
	
	PR target/18510
	* doc/extend.texi (SPARC VIS Built-in Functions): New section.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6569&r2=2.6570
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/extend.texi.diff?cvsroot=gcc&r1=1.232&r2=1.233



-- 


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


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

* [Bug target/18510] GCC should have instrinsics for SPARC VIS instructions
  2004-11-16  0:25 [Bug target/18510] New: GCC should have instrinsics for SPARC VIS instructions phython at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-11-26 13:18 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-26 15:24 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-26 15:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-26 15:24 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


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

end of thread, other threads:[~2004-11-26 15:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-16  0:25 [Bug target/18510] New: GCC should have instrinsics for SPARC VIS instructions phython at gcc dot gnu dot org
2004-11-16  0:36 ` [Bug target/18510] " phython at gcc dot gnu dot org
2004-11-16  4:17 ` phython at gcc dot gnu dot org
2004-11-16 13:41 ` phython at gcc dot gnu dot org
2004-11-16 13:43 ` phython at gcc dot gnu dot org
2004-11-16 13:55 ` pinskia at gcc dot gnu dot org
2004-11-20 20:00 ` phython at gcc dot gnu dot org
2004-11-23  2:12 ` phython at gcc dot gnu dot org
2004-11-26 13:18 ` cvs-commit at gcc dot gnu dot org
2004-11-26 15:24 ` pinskia at gcc dot gnu dot org

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).