diff options
author | Feng Wang <wangfeng@eswincomputing.com> | 2023-12-18 03:28:00 +0000 |
---|---|---|
committer | Feng Wang <wangfeng@eswincomputing.com> | 2023-12-19 01:21:40 +0000 |
commit | 15cb5204e4c5f79d1b7179ae2590bb65e24b745f (patch) | |
tree | 1c70ac7c965655dab69dfbeaf1ecc2ac9fa1ca10 /gcc/go/gofrontend/parse.cc | |
parent | 08c5d26afade74f8493580fb0380abcc7ee9589b (diff) | |
download | gcc-15cb5204e4c5f79d1b7179ae2590bb65e24b745f.zip gcc-15cb5204e4c5f79d1b7179ae2590bb65e24b745f.tar.gz gcc-15cb5204e4c5f79d1b7179ae2590bb65e24b745f.tar.bz2 |
RISC-V: Add required_extensions in function_group
In order to add other vector related extensions in the future, this
patch add one more parameter in the function_group_info, it will be
used to determine whether intrinsic registration processing is required.
gcc/ChangeLog:
* config/riscv/riscv-vector-builtins-functions.def (REQUIRED_EXTENSIONS):
Add new macro for match function.
* config/riscv/riscv-vector-builtins.cc (DEF_RVV_FUNCTION):
Add one more parameter for macro expanding.
(handle_pragma_vector): Add match function calls.
* config/riscv/riscv-vector-builtins.h (enum required_ext):
Add enum defination for required extension.
(struct function_group_info): Add one more parameter for checking required-ext.
Diffstat (limited to 'gcc/go/gofrontend/parse.cc')
0 files changed, 0 insertions, 0 deletions