aboutsummaryrefslogtreecommitdiff
path: root/libcpp/init.cc
diff options
context:
space:
mode:
authorKaren Sargsyan <karen1999411@gmail.com>2023-04-28 12:45:34 -0600
committerJeff Law <jlaw@ventanamicro>2023-04-28 12:47:38 -0600
commitd9df45a66b2c8f543106be0a2387bbe6195b00a6 (patch)
tree0faef60547255d692d2a86c9a9e25e1729f229c7 /libcpp/init.cc
parent1966741378d5f456d0245960fa09074b6320b4d6 (diff)
downloadgcc-d9df45a66b2c8f543106be0a2387bbe6195b00a6.zip
gcc-d9df45a66b2c8f543106be0a2387bbe6195b00a6.tar.gz
gcc-d9df45a66b2c8f543106be0a2387bbe6195b00a6.tar.bz2
RISC-V: Added support clmul[r,h] instructions for Zbc extension.
clmul[h] instructions were added only for the ZBKC extension. This patch includes them in the ZBC extension too. Besides, added support of 'clmulr' instructions for ZBC extension. gcc/ChangeLog: * config/riscv/bitmanip.md: Added clmulr instruction. * config/riscv/riscv-builtins.cc (AVAIL): Add new. * config/riscv/riscv.md: (UNSPEC_CLMULR): Add new unspec type. (type): Add clmul * config/riscv/riscv-cmo.def: Added built-in function for clmulr. * config/riscv/crypto.md: Move clmul[h] instructions to bitmanip.md. * config/riscv/riscv-scalar-crypto.def: Move clmul[h] built-in functions to riscv-cmo.def. * config/riscv/generic.md: Add clmul to list of instructions using the generic_imul reservation. gcc/testsuite/ChangeLog: * gcc.target/riscv/zbc32.c: New test. * gcc.target/riscv/zbc64.c: New test.
Diffstat (limited to 'libcpp/init.cc')
0 files changed, 0 insertions, 0 deletions