Re: Understanding peephole2

2024-11-21 Thread Georg-Johann Lay via Gcc
Am 20.11.24 um 11:33 schrieb Richard Biener: On Wed, Nov 20, 2024 at 11:29 AM Georg-Johann Lay via Gcc wrote: Consider the following RTL peephole from avr.md: (define_peephole2 ; avr.md:5387 [(match_scratch:QI 3 "d") (parallel [(set (match_operand:ALL4 0 "register_opera

Understanding peephole2

2024-11-20 Thread Georg-Johann Lay via Gcc
Consider the following RTL peephole from avr.md: (define_peephole2 ; avr.md:5387 [(match_scratch:QI 3 "d") (parallel [(set (match_operand:ALL4 0 "register_operand" "") (ashift:ALL4 (match_operand:ALL4 1 "register_operand" "")

Re: Understanding peephole2

2024-11-20 Thread Richard Biener via Gcc
On Wed, Nov 20, 2024 at 11:29 AM Georg-Johann Lay via Gcc wrote: > > Consider the following RTL peephole from avr.md: > > (define_peephole2 ; avr.md:5387 >[(match_scratch:QI 3 "d") > (parallel [(set (match_operand:ALL4 0 "register_operand" "") > (ashift:AL

Re: Understanding peephole2 PR117699

2024-11-20 Thread Georg-Johann Lay via Gcc
Am 20.11.24 um 11:33 schrieb Richard Biener: On Wed, Nov 20, 2024 at 11:29 AM Georg-Johann Lay via Gcc wrote: Consider the following RTL peephole from avr.md: (define_peephole2 ; avr.md:5387 [(match_scratch:QI 3 "d") (parallel [(set (match_operand:ALL4 0 "register_opera

Re: Understanding peephole2

2024-11-20 Thread Georg-Johann Lay via Gcc
Am 20.11.24 um 11:33 schrieb Richard Biener: On Wed, Nov 20, 2024 at 11:29 AM Georg-Johann Lay via Gcc wrote: Consider the following RTL peephole from avr.md: (define_peephole2 ; avr.md:5387 [(match_scratch:QI 3 "d") (parallel [(set (match_operand:ALL4 0 "register_opera