https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123279
Kito Cheng <kito at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kito at gcc dot gnu.org
--- Comment #10 from Kito Cheng <kito at gcc dot gnu.org> ---
I would prefer Andrew's idea, but use different stuffs to encode, we have
different pragma
e.g.
#pragma riscv intrinsic "xtheadvector"
#pragma riscv intrinsic "vector"
they are used by different header, and also different vendor should use
different one.
So we might encode that in the code, we already have RISCV_BUILTIN_GENERAL and
RISCV_BUILTIN_VECTOR now, we might just add one more RISCV_BUILTIN_TH_VECTOR
for `#pragma riscv intrinsic "xtheadvector"`.
In theory sifive_vector.h should use something like `#pragma riscv intrinsic
"xsifivevector"`, but apparently we didn't, however SiFive vector intrinsic
isn't existing on too much project yet, so we might defer this.