This is the mail archive of the gcc@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]

Re: Help with another constraint


On Sun, Dec 09, 2007 at 03:55:36AM -0500, Balaji V. Iyer wrote:
> Hello Everyone,
>     I am trying to partition register files in GCC port of Opencores
> (OPENRISC 1000). It is currently failing the following constraint in
> negdi2
>  
> (insn 15 13 16 (set (mem:SI (plus:SI (reg/f:SI 2 r2)
		       ^^^
>                 (const_int -28 [0xffffffe4])) [0 D.1256+0 S4 A32])
>         (neg:SI (reg:SI 3 r3 [orig:80 D.1255 ] [80]))) 38 {negsi2} (nil)
>     (nil))
> ../../gcc-4.0.2/gcc/libgcc2.c:72: internal compiler error: in
> final_scan_insn, at final.c:2439
> Please submit a full bug report,

+(define_insn "negsi2"
+  [(set (match_operand:SI 0 "register_operand" "=r")
			      ^^^^^^^^^^^^^^^^
+       (neg:SI (match_operand:SI 1 "register_operand" "r")))]
+  ""
+  "l.sub   \t%0,r0,%1"
+  [(set_attr "type" "add")
+   (set_attr "length" "1")])

   How did that happen? Look at the dump files. Btw, what is the error
message above the insn dump?

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year


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