Re: RISC-V: Added support clmul[r,h] instructions for Zbc extension.

2023-04-28 Thread Jeff Law via Gcc-patches
generic_imul unit which seemed like the best fit. Attached is the actual patch I committed. Jeffcommit d9df45a66b2c8f543106be0a2387bbe6195b00a6 Author: Karen Sargsyan Date: Fri Apr 28 12:45:34 2023 -0600 RISC-V: Added support clmul[r,h] instructions for Zbc extension. clmul[h] instru

RISC-V: Added support clmul[r,h] instructions for Zbc extension.

2023-04-27 Thread Karen Sargsyan via Gcc-patches
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 (AVAI