aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2020-07-28 10:29:49 +0800
committerKito Cheng <kito.cheng@sifive.com>2020-10-22 16:02:44 +0800
commitdf7f0a3a21418f8e06bb4710f09587e54225da93 (patch)
tree8f0db46a2182ae8910b08af6cd8a5b4d70ad56cd /gcc/function.c
parentef2d3ec325b1b720df5da20784eba46249af2294 (diff)
downloadgcc-df7f0a3a21418f8e06bb4710f09587e54225da93.zip
gcc-df7f0a3a21418f8e06bb4710f09587e54225da93.tar.gz
gcc-df7f0a3a21418f8e06bb4710f09587e54225da93.tar.bz2
RISC-V: Extend syntax for the multilib-generator
- Support expansion operator (*) in the multilib config string. - Motivation of this patch is reduce the complexity when we deal multilib with sub-extension, expand the combinations by hand would be very painful and error prone, no one deserve to experience this[1] again! [1] https://github.com/sifive/freedom-tools/blob/f4d7facafb27d16125768c90ff1790c674e4be7a/Makefile#L348 gcc/ChangeLog: * config/riscv/multilib-generator: Add TODO, import itertools and functools.reduce. Handle expantion operator. (LONG_EXT_PREFIXES): New. (arch_canonicalize): Update comment and improve python3 debuggability/compatibility. (add_underline_prefix): New. (_expand_combination): Ditto. (unique): Ditto. (expand_combination): Ditto.
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions