public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/18531] New: Rationalize Altivec logical ops
@ 2004-11-17 16:28 dje at gcc dot gnu dot org
  2004-11-17 16:37 ` [Bug target/18531] " nathan at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dje at gcc dot gnu dot org @ 2004-11-17 16:28 UTC (permalink / raw)
  To: gcc-bugs

Altivec patterns are defined at all integer vector modes for GCC named patterns,
but not for combiner patterns (e.g., vandc).  The patterns probably should use
comparison_operator, %q output template, and MD file macro for multiple integer
vector modes.

-- 
           Summary: Rationalize Altivec logical ops
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dje at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: *-*-*
  GCC host triplet: *-*-*
GCC target triplet: powerpc-*-*


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


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

* [Bug target/18531] Rationalize Altivec logical ops
  2004-11-17 16:28 [Bug target/18531] New: Rationalize Altivec logical ops dje at gcc dot gnu dot org
@ 2004-11-17 16:37 ` nathan at gcc dot gnu dot org
  2004-11-17 17:28 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: nathan at gcc dot gnu dot org @ 2004-11-17 16:37 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-17 16:37:25
               date|                            |


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


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

* [Bug target/18531] Rationalize Altivec logical ops
  2004-11-17 16:28 [Bug target/18531] New: Rationalize Altivec logical ops dje at gcc dot gnu dot org
  2004-11-17 16:37 ` [Bug target/18531] " nathan at gcc dot gnu dot org
@ 2004-11-17 17:28 ` pinskia at gcc dot gnu dot org
  2004-11-25 12:30 ` nathan at gcc dot gnu dot org
  2004-12-01  0:40 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-17 17:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-17 17:27 -------
Note vandc was already done (and approved):
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01328.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |nathan at gcc dot gnu dot
                   |dot org                     |org


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


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

* [Bug target/18531] Rationalize Altivec logical ops
  2004-11-17 16:28 [Bug target/18531] New: Rationalize Altivec logical ops dje at gcc dot gnu dot org
  2004-11-17 16:37 ` [Bug target/18531] " nathan at gcc dot gnu dot org
  2004-11-17 17:28 ` pinskia at gcc dot gnu dot org
@ 2004-11-25 12:30 ` nathan at gcc dot gnu dot org
  2004-12-01  0:40 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: nathan at gcc dot gnu dot org @ 2004-11-25 12:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From nathan at gcc dot gnu dot org  2004-11-25 12:30 -------
2004-11-22  Nathan Sidwell  <nathan@codesourcery.com>

	PR target/18531
	* config/rs6000/altivec.md (VI_char): New mode attribute.
	(addv16qi3, addv8hi3, addv4ai3): Replace with ...
	(add<mode>3): ... this.
	(subv16qi3, subv8hi3, subv4ai3): Replace with ...
	(sub<mode>3): ... this.
	(smaxv16qi3, smaxv8hi3, smaxv4ai3): Replace with ...
	(smax<mode>3): ... this.
	(sminv16qi3, sminv8hi3, sminv4ai3): Replace with ...
	(smin<mode>3): ... this.
	(umaxv16qi3, umaxv8hi3, umaxv4ai3): Replace with ...
	(umax<mode>3): ... this.
	(uminv16qi3, uminv8hi3, uminv4ai3): Replace with ...
	(umin<mode>3): ... this.
	(andv16qi3, andv8hi3, andv4ai3): Replace with ...
	(and<mode>3): ... this.
	(iorv16qi3, iorv8hi3, iorv4ai3): Replace with ...
	(ior<mode>3): ... this.
	(xorv16qi3, xorv8hi3, xorv4ai3): Replace with ...
	(xor<mode>3): ... this.
	(andv16qi3, andv8hi3, andv4ai3): Replace with ...
	(and<mode>3): ... this.
	(iorv16qi3, iorv8hi3, iorv4ai3): Replace with ...
	(ior<mode>3): ... this.
	(altivec_vnor): Replace with ...
	(altivec_nor<mode>): ... this.
	(one_cmplv16qi2, one_cmplv8hi2, one_complv4ai2): Replace with ...
	(one_cmpl<mode>2): ... this.
	(altivec_vandc): New expander.
	(*andc<mode>3): New insn.
	* config/rs6000/rs6000.c (bdesc_2arg): Adjust for new insn names.

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


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


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

* [Bug target/18531] Rationalize Altivec logical ops
  2004-11-17 16:28 [Bug target/18531] New: Rationalize Altivec logical ops dje at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-11-25 12:30 ` nathan at gcc dot gnu dot org
@ 2004-12-01  0:40 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-01  0:40 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
   Target Milestone|---                         |4.0.0


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


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

end of thread, other threads:[~2004-12-01  0:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-17 16:28 [Bug target/18531] New: Rationalize Altivec logical ops dje at gcc dot gnu dot org
2004-11-17 16:37 ` [Bug target/18531] " nathan at gcc dot gnu dot org
2004-11-17 17:28 ` pinskia at gcc dot gnu dot org
2004-11-25 12:30 ` nathan at gcc dot gnu dot org
2004-12-01  0:40 ` 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).