[RFC,v2,0/1] RISC-V: Add support for 'XVentanaCondOps' reusing 'Zicond' support

Message ID cover.1693436086.git.research_trasio@irq.a4lg.com
Headers
Series RISC-V: Add support for 'XVentanaCondOps' reusing 'Zicond' support |

Message

Tsukasa OI Aug. 30, 2023, 10:54 p.m. UTC
  PATCH v1:
<https://gcc.gnu.org/pipermail/gcc-patches/2023-August/628786.html>

Changes: v1 -> v2
*   Removed bogus opt2 pattern as pointed out in:
    <https://gcc.gnu.org/pipermail/gcc-patches/2023-August/628867.html>
    note that this is not in the ChangeLog expecting the patch above
    applies first.




Tsukasa OI (1):
  RISC-V: Add support for 'XVentanaCondOps' reusing 'Zicond' support

 gcc/common/config/riscv/riscv-common.cc       |  2 +
 gcc/config/riscv/riscv-opts.h                 |  6 +++
 gcc/config/riscv/riscv.cc                     |  4 +-
 gcc/config/riscv/riscv.md                     |  2 +-
 gcc/config/riscv/riscv.opt                    |  3 ++
 gcc/config/riscv/zicond.md                    | 52 ++++++++++++-------
 .../xventanacondops-primitiveSemantics-rv32.c | 45 ++++++++++++++++
 .../xventanacondops-primitiveSemantics.c      | 48 +++++++++++++++++
 .../gcc.target/riscv/xventanacondops-xor-01.c | 14 +++++
 9 files changed, 154 insertions(+), 22 deletions(-)
 create mode 100644 gcc/testsuite/gcc.target/riscv/xventanacondops-primitiveSemantics-rv32.c
 create mode 100644 gcc/testsuite/gcc.target/riscv/xventanacondops-primitiveSemantics.c
 create mode 100644 gcc/testsuite/gcc.target/riscv/xventanacondops-xor-01.c


base-commit: 597b9ec69bca8acb7a3d65641c0a730de8b27ed4