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: [patch i386]: Combine memory and indirect jump


2014-06-20 19:23 GMT+02:00 Richard Henderson <rth@redhat.com>:
> On 06/20/2014 08:56 AM, Kai Tietz wrote:
>> +(define_split
>> +  [(set (match_operand:W 0 "register_operand")
>> +        (match_operand:W 1 "memory_operand"))
>> +   (set (pc) (match_dup 0))]
>> +  "!TARGET_X32 && peep2_reg_dead_p (2, operands[0])"
>> +  [(set (pc) (match_dup 1))])
>> +
>
> Huh?  You can't use peep2 data structures in split passes.
>
>
> r~

Duh, you are right ... that shouldn't work, nevertheless it
bootstrapped fine.  Well, so we will need second peephole2 pass.  I
will come with patch for that soon.

Kai


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