]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Add missing define_insn_reservation to tt-ascalon-d8.md [PR121982]
authorPeter Bergner <bergner@tenstorrent.com>
Mon, 22 Sep 2025 17:17:26 +0000 (12:17 -0500)
committerPeter Bergner <bergner@tenstorrent.com>
Mon, 22 Sep 2025 23:30:20 +0000 (18:30 -0500)
commit4275518a06333109b6423c4eb15dd86a6479cef5
tree5a61b7beb70260c182d454af5d21215aabd4556a
parentcc79849cc883146964f0001f33c8b7eb576825c4
RISC-V: Add missing define_insn_reservation to tt-ascalon-d8.md [PR121982]

The tt-ascalon-d8's pipeline description has reservations for 16-bit, 32-bit
and 64-bit vector integer divides, but was missing a reservation for 8-bit
vector integer divides, leading to an ICE.  Add the missing reservation.

2025-09-22  Peter Bergner  <bergner@tenstorrent.com>

gcc/
PR target/121982
* config/riscv/tt-ascalon-d8.md (tt_ascalon_d8_vec_idiv_byte): New
define_insn_reservation.

gcc/testsuite/
PR target/121982
* gcc.target/riscv/pr121982.c: New test.

Signed-off-by: Peter Bergner <bergner@tenstorrent.com>
gcc/config/riscv/tt-ascalon-d8.md
gcc/testsuite/gcc.target/riscv/pr121982.c [new file with mode: 0644]