* [PATCH, i386]: Fix PR target/45327, ICE: SIGSEGV in rtx_equal_p
@ 2010-08-18 23:06 Uros Bizjak
2010-08-18 23:26 ` H.J. Lu
0 siblings, 1 reply; 3+ messages in thread
From: Uros Bizjak @ 2010-08-18 23:06 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 318 bytes --]
Hello!
ix86_binary_operator_ok needs output operand in addition to two input operands.
2010-08-18 Uros Bizjak <ubizjak@gmail.com>
PR target/45327
* config/i386/i386.md (<any_or:code><SWI:mode>_3): Do not use
ix86_binary_operator_ok.
Tested on x86_64-pc-linux-gnu and committed to 4.5 and SVN mainline.
Uros.
[-- Attachment #2: p.diff.txt --]
[-- Type: text/plain, Size: 488 bytes --]
Index: i386.md
===================================================================
--- i386.md (revision 163353)
+++ i386.md (working copy)
@@ -8456,7 +8456,7 @@
(const_int 0)))
(clobber (match_scratch:SWI 0 "=<r>"))]
"ix86_match_ccmode (insn, CCNOmode)
- && ix86_binary_operator_ok (<CODE>, <MODE>mode, operands)"
+ && !(MEM_P (operands[1]) && MEM_P (operands[2]))"
"<logic>{<imodesuffix>}\t{%2, %0|%0, %2}"
[(set_attr "type" "alu")
(set_attr "mode" "<MODE>")])
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH, i386]: Fix PR target/45327, ICE: SIGSEGV in rtx_equal_p
2010-08-18 23:06 [PATCH, i386]: Fix PR target/45327, ICE: SIGSEGV in rtx_equal_p Uros Bizjak
@ 2010-08-18 23:26 ` H.J. Lu
2010-08-18 23:28 ` Uros Bizjak
0 siblings, 1 reply; 3+ messages in thread
From: H.J. Lu @ 2010-08-18 23:26 UTC (permalink / raw)
To: Uros Bizjak; +Cc: gcc-patches
On Wed, Aug 18, 2010 at 3:46 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> Hello!
>
> ix86_binary_operator_ok needs output operand in addition to two input operands.
>
> 2010-08-18 Uros Bizjak <ubizjak@gmail.com>
>
> PR target/45327
> * config/i386/i386.md (<any_or:code><SWI:mode>_3): Do not use
> ix86_binary_operator_ok.
>
> Tested on x86_64-pc-linux-gnu and committed to 4.5 and SVN mainline.
>
Can you add the testcase?
Thanks.
--
H.J.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH, i386]: Fix PR target/45327, ICE: SIGSEGV in rtx_equal_p
2010-08-18 23:26 ` H.J. Lu
@ 2010-08-18 23:28 ` Uros Bizjak
0 siblings, 0 replies; 3+ messages in thread
From: Uros Bizjak @ 2010-08-18 23:28 UTC (permalink / raw)
To: H.J. Lu; +Cc: gcc-patches
On Wed, 2010-08-18 at 16:06 -0700, H.J. Lu wrote:
> On Wed, Aug 18, 2010 at 3:46 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> > Hello!
> >
> > ix86_binary_operator_ok needs output operand in addition to two input operands.
> >
> > 2010-08-18 Uros Bizjak <ubizjak@gmail.com>
> >
> > PR target/45327
> > * config/i386/i386.md (<any_or:code><SWI:mode>_3): Do not use
> > ix86_binary_operator_ok.
> >
> > Tested on x86_64-pc-linux-gnu and committed to 4.5 and SVN mainline.
> >
>
> Can you add the testcase?
Well, it was a typo, so I think we can live without. No way this
failure triggers again.
Uros.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-18 23:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-18 23:06 [PATCH, i386]: Fix PR target/45327, ICE: SIGSEGV in rtx_equal_p Uros Bizjak
2010-08-18 23:26 ` H.J. Lu
2010-08-18 23:28 ` Uros Bizjak
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).