]> git.ipfire.org Git - thirdparty/gcc.git/commit
Enable REE for H8
authorJeff Law <jeffreyalaw@gmail.com>
Mon, 17 Oct 2022 23:28:00 +0000 (19:28 -0400)
committerJeff Law <jeffreyalaw@gmail.com>
Mon, 17 Oct 2022 23:30:30 +0000 (19:30 -0400)
commit566c5f1aaae120d2283103e68ecf1c1a83dd4459
treee453f0fc93f4483704d93dfd7fef27b66ff6d33f
parent43ee3f64cb519f2675fa1771007d4aa3baba944f
Enable REE for H8

I was looking at H8 assembly code recently and noticed we had unnecessary
extensions.  As it turns out we never enabled redundant extension elimination
on the H8.  This patch fixes that oversight (and was the trigger for the
failure fixed my the prior patch).

gcc/common

* common/config/h8300/h8300-common.cc (h8300_option_optimization_table):
Enable redundant extension elimination at -O2 and above.
13 files changed:
gcc/common/config/h8300/h8300-common.cc
gcc/config/i386/cet.c [new file with mode: 0644]
gcc/config/i386/driver-mingw32.c [new file with mode: 0644]
gcc/config/i386/i386-builtins.c [new file with mode: 0644]
gcc/config/i386/i386-d.c [new file with mode: 0644]
gcc/config/i386/i386-expand.c [new file with mode: 0644]
gcc/config/i386/i386-features.c [new file with mode: 0644]
gcc/config/i386/i386-options.c [new file with mode: 0644]
gcc/config/i386/t-cet [new file with mode: 0644]
gcc/config/i386/x86-tune-sched-atom.c [new file with mode: 0644]
gcc/config/i386/x86-tune-sched-bd.c [new file with mode: 0644]
gcc/config/i386/x86-tune-sched-core.c [new file with mode: 0644]
gcc/config/i386/x86-tune-sched.c [new file with mode: 0644]