This is the mail archive of the gcc-patches@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: RX: 4.5 branch: Fix alignment and addressing issues.


On Mar 16, 2011, at 12:05 PM, Andrew Pinski wrote:
>> +   (set_attr "length"  "5")] ;; Worst case sceanario.  FIXME: If we defined separate patterns
>> +)                            ;; rather than using iterators we could specify exact sizes.
> 
> You can set up the correct length even without using separate patterns.

and you can also run match_operand in these things as well...  :-)

[(set (attr "type") (if_then_else (match_operand 2 "const_int_operand" "")
        (const_string "alu_shift")
        (const_string "alu_shift_reg")))]


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