Jeff Law <[email protected]> writes: > On 10/30/26 7:41 AM, exuro wrote: >> From: Loeka Rogge <[email protected]> >> >> The RPX-100 pipeline is the same design as the RHX-100 but RV64 instead >> of RV32. This mtune is just an alias and adds 64 bit multiplication. >> >> Add a mul_part attribute to al multiplication instructions in riscv.md >> to distinguish instructions that return the high and low part. >> >> Regtested on rv32gc, rv64gc and with rhx100 config and mtune. >> >> gcc/ChangeLog: >> >> * config/riscv/arcv-rhx100.md (arcv_rhx100_mpy_insn): Rename to >> mpy32. >> (arcv_rhx100_mpy32_insn): Also apply for rpx_100 tune. >> (arcv_rhx100_mpy64l_insn): rpx_100 mul low part. >> (arcv_rhx100_mpy64h_insn): rpx_100 mul high part. >> (arcv_rhx100_mpy*_insn): Apply bypass for both size mul. >> (arcv_rhx100_div_insn): Also apply for rpx_100 tune. >> (riscv_store_data_bypass_p): Add store bypass >> (arcv_rhx100_store_insn): Likewise. >> (arcv_rhx100_load_insn): Add load bypass. >> * config/riscv/riscv-cores.def (RISCV_TUNE): >> Add arcv_rpx100 tune >> * config/riscv/riscv-opts.h (enum riscv_microarchitecture_type): >> Add arcv_rpx100 microarchitecture type >> * config/riscv/riscv.md (low,high): Add low/high mul_part >> attribute, default value: low. >> * doc/riscv-mtune.texi: Add rpx_100 tune >> >> gcc/testsuite/ChangeLog: >> >> * gcc.target/riscv/arcv-sched-mul-mem-rpx100.c: New test. >> >> Signed-off-by: Loeka Rogge <[email protected]> > This looks sensible. I *think* it can be committed without patch #2, > but I'll wait for your confirmation on that before pushing. Hi Jeff,
This indeed can be committed independently of 2/2. I'm not sure I can interpret this as an OK, so I didn't push to be safe. Thanks, Michiel
