diff options
author | Patrick O'Neill <patrick@rivosinc.com> | 2024-06-17 09:46:05 -0700 |
---|---|---|
committer | Patrick O'Neill <patrick@rivosinc.com> | 2024-06-17 09:49:47 -0700 |
commit | 4f18f75c5648d0b46a72f18e321bec279a6964be (patch) | |
tree | d7819caa9a858c8be7307fed75ed3263c81bea33 /gcc/tree-ssa-alias.h | |
parent | dae93785c9ebdaf6a0a4eeef51d399e2530679cd (diff) | |
download | gcc-4f18f75c5648d0b46a72f18e321bec279a6964be.zip gcc-4f18f75c5648d0b46a72f18e321bec279a6964be.tar.gz gcc-4f18f75c5648d0b46a72f18e321bec279a6964be.tar.bz2 |
RISC-V: Add configure check for Zaamo/Zalrsc assembler support
Binutils 2.42 and before don't support Zaamo/Zalrsc. Add a configure
check to prevent emitting Zaamo/Zalrsc in the arch string when the
assember does not support it.
gcc/ChangeLog:
* common/config/riscv/riscv-common.cc
(riscv_subset_list::to_string): Skip zaamo/zalrsc when not
supported by the assembler.
* config.in: Regenerate.
* configure: Regenerate.
* configure.ac: Add zaamo/zalrsc assmeber check.
Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com> # RISC-V
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com> # RISC-V
Diffstat (limited to 'gcc/tree-ssa-alias.h')
0 files changed, 0 insertions, 0 deletions