gcc/ New avt target pass to work around performance loss by PR fix. PR target/71676 PR target/71678 * config/avr/avr.md (casesi_<mode>_sequence) [qi,hi]: New insn. (*cmp<mode>) [qi,qq,uqq,hi,hq,uhq,ha,uha]: Rename to cmp<mode>3. * config/avr/predicates.md (extend_operator): New. * config/avr/avr-passes.def (avr_pass_casesi): Register new pass. * config/avr/avr-protos.h (avr_casei_sequence_check_operands) (make_avr_pass_casesi): New prototypes. * config/avr/avr.c (print-rtl.h): Include it. (pass_data avr_pass_data_casesi): Data for new pass. (avr_pass_casesi): New class implementing rtl_opt_pass .avr-casesi. (make_avr_pass_casesi, avr_parallel_insn_from_insns) (avr_is_casesi_sequence, avr_casei_sequence_check_operands) (avr_optimize_casesi): New functions. gcc/testsuite/ PR target/71676 PR target/71678 * gcc.target/avr/pr71676-2.c: New test. From-SVN: r241504
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
avr-arch.h | Loading commit data... | |
avr-c.c | Loading commit data... | |
avr-devices.c | Loading commit data... | |
avr-dimode.md | Loading commit data... | |
avr-fixed.md | Loading commit data... | |
avr-log.c | Loading commit data... | |
avr-mcus.def | Loading commit data... | |
avr-modes.def | Loading commit data... | |
avr-passes.def | Loading commit data... | |
avr-protos.h | Loading commit data... | |
avr-stdint.h | Loading commit data... | |
avr.c | Loading commit data... | |
avr.h | Loading commit data... | |
avr.md | Loading commit data... | |
avr.opt | Loading commit data... | |
avrlibc.h | Loading commit data... | |
builtins.def | Loading commit data... | |
constraints.md | Loading commit data... | |
driver-avr.c | Loading commit data... | |
elf.h | Loading commit data... | |
gen-avr-mmcu-specs.c | Loading commit data... | |
gen-avr-mmcu-texi.c | Loading commit data... | |
genmultilib.awk | Loading commit data... | |
predicates.md | Loading commit data... | |
specs.h | Loading commit data... | |
stdfix.h | Loading commit data... | |
t-avr | Loading commit data... | |
t-multilib | Loading commit data... |