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: own target: combine emits invalid RTL


On Fri, Nov 16, 2007 at 12:05:06AM +0100, Michael_fogel wrote:
> (define_insn "iorsi3_internal1"
>   [(set (match_operand:SI 0 "gp_reg_operand" "=r,r")
>         (ior:SI (match_operand:SI 1 "reg_or_0_operand" "%rJ,rJ")
>                 (match_operand:SI 2 "uns_arith_operand" "r,K")))]

   Oh, by the way: A commutative operator will never have a constant as the
first operand. I.e. the "_or_0_" part of "reg_or_0_operand" won't happen.

-- 
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]