--- Comment #9 from bernds at gcc dot gnu dot org 2010-07-01 09:20 ---
Subject: Bug 44727
Author: bernds
Date: Thu Jul 1 09:20:40 2010
New Revision: 161656
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161656
Log:
PR target/44727
* config/i386/i386.md (peephole2
--- Comment #10 from hjl dot tools at gmail dot com 2010-07-01 17:46
---
Fixed.
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
Target Milestone|--- |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44727
--- Comment #1 from hjl dot tools at gmail dot com 2010-06-30 19:26 ---
-mtune=atom miscompiled gcj.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44727
--- Comment #2 from hjl dot tools at gmail dot com 2010-06-30 21:02 ---
jcf-parse.o is miscompiled.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44727
--- Comment #3 from hjl dot tools at gmail dot com 2010-06-30 21:10 ---
-mtune=atom works with 32bit build.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44727
--- Comment #4 from bernds at gcc dot gnu dot org 2010-06-30 21:52 ---
I can reproduce this. I haven't found the problem, but it seems to go away if
I remove m_ATOM from X86_TUNE_OPT_AGU. Is it possible that there's a bug
related to this in i386.*?
--
--- Comment #5 from hjl dot tools at gmail dot com 2010-06-30 21:53 ---
Function get_attribute is miscompiled. The difference is
--
--- /tmp/good.s 2010-06-30 14:36:46.971155015 -0700
+++ /tmp/bad.s 2010-06-30 14:38:49.211031644 -0700
@@ -3966,18 +3966,18 @@ get_attribute:
jne
--- Comment #6 from bernds at gcc dot gnu dot org 2010-06-30 22:08 ---
Ok, thanks for investigating. I think we may need something like this:
@@ -17574,6 +17574,7 @@ (define_peephole2
|| GET_MODE (operands[0]) == HImode))
|| GET_MODE (operands[0]) == SImode
--- Comment #7 from hjl dot tools at gmail dot com 2010-06-30 22:18 ---
(In reply to comment #6)
Ok, thanks for investigating. I think we may need something like this:
@@ -17574,6 +17574,7 @@ (define_peephole2
|| GET_MODE (operands[0]) == HImode))
|| GET_MODE
--- Comment #8 from hjl dot tools at gmail dot com 2010-07-01 00:09 ---
Created an attachment (id=21051)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21051action=view)
A patch
Here is the a patch. We need
rtx_equal_p (operands[0], operands[3])
Otherwise, I got
FAIL:
11 matches
Mail list logo