aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range-cache.cc
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-10-30 20:24:58 +0800
committerXi Ruoyao <xry111@xry111.site>2023-11-13 14:15:07 +0800
commit2e0a1f778cafd164f8205ff3204a6076ffef0c77 (patch)
treeb691dbd5057af70bdbd2fcf63944881a7c64ae16 /gcc/gimple-range-cache.cc
parentb88500e0bc1e9e3a396ba764f9b701d22a76818f (diff)
downloadgcc-2e0a1f778cafd164f8205ff3204a6076ffef0c77.zip
gcc-2e0a1f778cafd164f8205ff3204a6076ffef0c77.tar.gz
gcc-2e0a1f778cafd164f8205ff3204a6076ffef0c77.tar.bz2
LoongArch: Optimize single-used address with -mexplicit-relocs=auto for fld/fst
fld and fst have same address mode as ld.w and st.w, so the same optimization as r14-4851 should be applied for them too. gcc/ChangeLog: * config/loongarch/loongarch.md (LD_AT_LEAST_32_BIT): New mode iterator. (ST_ANY): New mode iterator. (define_peephole2): Use LD_AT_LEAST_32_BIT instead of GPR and ST_ANY instead of QHWD for applicable patterns.
Diffstat (limited to 'gcc/gimple-range-cache.cc')
0 files changed, 0 insertions, 0 deletions