* PATCH: silence warnings from spu.md
@ 2007-08-03 0:13 Ben Elliston
2007-08-03 0:28 ` Andrew Pinski
0 siblings, 1 reply; 2+ messages in thread
From: Ben Elliston @ 2007-08-03 0:13 UTC (permalink / raw)
To: gcc-patches; +Cc: Andrew_Pinski
This patch silences warnings from the gen* programs.
Okay for mainline?
2007-08-03 Ben Elliston <bje@au.ibm.com>
* config/spu/spu.md (dftsv_celledp): Attach the appropriate mode
to the UNSPEC expression.
(dftsv): Likewise.
Index: spu.md
===================================================================
--- spu.md (revision 127169)
+++ spu.md (working copy)
@@ -3025,16 +3025,18 @@ selb\t%0,%4,%0,%3"
;; dftsv
(define_insn "dftsv_celledp"
[(set (match_operand:V2DI 0 "spu_reg_operand" "=r")
- (unspec [(match_operand:V2DF 1 "spu_reg_operand" "r")
- (match_operand:SI 2 "const_int_operand" "i")] UNSPEC_DFTSV))]
+ (unspec:V2DI [(match_operand:V2DF 1 "spu_reg_operand" "r")
+ (match_operand:SI 2 "const_int_operand" "i")]
+ UNSPEC_DFTSV))]
"spu_arch == PROCESSOR_CELLEDP"
"dftsv\t%0,%1,%2"
[(set_attr "type" "fpd")])
(define_expand "dftsv"
[(set (match_operand:V2DI 0 "spu_reg_operand" "=r")
- (unspec [(match_operand:V2DF 1 "spu_reg_operand" "r")
- (match_operand:SI 2 "const_int_operand" "i")] UNSPEC_DFTSV))]
+ (unspec:V2DI [(match_operand:V2DF 1 "spu_reg_operand" "r")
+ (match_operand:SI 2 "const_int_operand" "i")]
+ UNSPEC_DFTSV))]
""
{
if(spu_arch == PROCESSOR_CELL)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH: silence warnings from spu.md
2007-08-03 0:13 PATCH: silence warnings from spu.md Ben Elliston
@ 2007-08-03 0:28 ` Andrew Pinski
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Pinski @ 2007-08-03 0:28 UTC (permalink / raw)
To: Ben Elliston; +Cc: gcc-patches, Andrew_Pinski
On 8/2/07, Ben Elliston <bje@au1.ibm.com> wrote:
> This patch silences warnings from the gen* programs.
> Okay for mainline?
This is ok.
Thanks,
Andrew Pinski
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-03 0:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-03 0:13 PATCH: silence warnings from spu.md Ben Elliston
2007-08-03 0:28 ` Andrew Pinski
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).