diff options
author | YunQiang Su <yunqiang.su@cipunited.com> | 2021-05-08 05:45:54 -0400 |
---|---|---|
committer | YunQiang Su <yunqiang.su@cipunited.com> | 2022-10-25 16:44:12 +0800 |
commit | 593632051f48a20bdc685d00d168f064d808bd7b (patch) | |
tree | 4aaffe625878597857fca7e1431aabd2a9457560 /gcc/config/mips/mips.h | |
parent | 4479f1dc79fc4f1b5e0fed209df35f405bc94589 (diff) | |
download | gcc-593632051f48a20bdc685d00d168f064d808bd7b.zip gcc-593632051f48a20bdc685d00d168f064d808bd7b.tar.gz gcc-593632051f48a20bdc685d00d168f064d808bd7b.tar.bz2 |
MIPS: add builtime option for -mcompact-branches
For R6+ target, it allows to configure gcc to use compact branches only
if avaiable.
gcc/ChangeLog:
* config.gcc: add -with-compact-branches=policy build option.
* doc/install.texi: Likewise.
* config/mips/mips.h: Likewise.
Diffstat (limited to 'gcc/config/mips/mips.h')
-rw-r--r-- | gcc/config/mips/mips.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index ed058b5..69de74e 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -915,7 +915,8 @@ struct mips_cpu_info { {"mips-plt", "%{!mplt:%{!mno-plt:-m%(VALUE)}}" }, \ {"synci", "%{!msynci:%{!mno-synci:-m%(VALUE)}}" }, \ {"lxc1-sxc1", "%{!mlxc1-sxc1:%{!mno-lxc1-sxc1:-m%(VALUE)}}" }, \ - {"madd4", "%{!mmadd4:%{!mno-madd4:-m%(VALUE)}}" } \ + {"madd4", "%{!mmadd4:%{!mno-madd4:-m%(VALUE)}}" }, \ + {"compact-branches", "%{!mcompact-branches=*:-mcompact-branches=%(VALUE)}" } \ /* A spec that infers the: -mnan=2008 setting from a -mips argument, |