aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/reflect/internal/example2
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2025-08-01 15:42:53 +0200
committerGeorg-Johann Lay <avr@gjlay.de>2025-08-03 10:47:57 +0200
commit835595d43eb8fe19b6cf5a5f381d3dc458350c95 (patch)
treef06a6f32b6cb9f01550cd3067a9874523a9d9270 /libgo/go/reflect/internal/example2
parentd0e62f3783f34c6591628ca771f46fd30d8b4b7b (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
AVR: Use avr_add_ccclobber / DONE_ADD_CCC in md instead of repeats.HEADtrunkmaster
There are many post-reload define_insn_and_split's that just append a (clobber (reg:CC REG_CC)) to the pattern. Instead of repeating the original patterns, avr_add_ccclobber (curr_insn) is used to do that job. This avoids repeating patterns all over the place, and splits that do something different (like using a canonical form) stand out clearly. gcc/ * config/avr/avr.md (define_insn_and_split) [reload_completed]: For splits that just append a (clobber (reg:CC REG_CC)) to the pattern, use avr_add_ccclobber (curr_insn) instead of repeating the original pattern. * config/avr/avr-dimode.md: Same. * config/avr/avr-fixed.md: Same.
Diffstat (limited to 'libgo/go/reflect/internal/example2')
0 files changed, 0 insertions, 0 deletions