This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/34673] ICE in extract_insn, at recog.c:1990



------- Comment #5 from ubizjak at gmail dot com  2008-01-05 10:59 -------
(In reply to comment #3)
> I don't see how we can handle ne:SF anywhere.

(define_insn "sse_maskcmpsf3"
  [(set (match_operand:SF 0 "register_operand" "=x")
        (match_operator:SF 3 "sse_comparison_operator"
                [(match_operand:SF 1 "register_operand" "0")
                 (match_operand:SF 2 "nonimmediate_operand" "xm")]))]

It is just the issue with reversed operands:

Index: i386.c
===================================================================
--- i386.c      (revision 131332)
+++ i386.c      (working copy)
@@ -24239,7 +24239,7 @@

   /* Compare a to zero.  */
   emit_insn (gen_rtx_SET (VOIDmode, mask,
-                         gen_rtx_NE (mode, a, zero)));
+                         gen_rtx_NE (mode, zero, a)));

   /* x0 = 1./sqrt(a) estimate */
   emit_insn (gen_rtx_SET (VOIDmode, x0,


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ubizjak at gmail dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-01-04 13:59:31         |2008-01-05 10:59:06
               date|                            |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]