]> git.ipfire.org Git - thirdparty/gcc.git/commit
[RISC-V][PR target/118170] Add HF div/sqrt reservation
authorAnton Blanchard <antonb@tenstorrent.com>
Wed, 15 Jan 2025 05:11:13 +0000 (22:11 -0700)
committerJeff Law <jlaw@ventanamicro.com>
Wed, 15 Jan 2025 05:17:07 +0000 (22:17 -0700)
commitd6f1961e68092fda35ce064ef45d1dbec780c624
tree25862e52c87f2fef39f8fb8fde680ba0922249ac
parentcab2e12362287bd50f9abdd7fb5a775138e02d1b
[RISC-V][PR target/118170] Add HF div/sqrt reservation

Clearly an oversight in the generic-ooo model caught by the checking code.  I
should have realized it was generic-ooo as we don't have a pipeline description
for the tenstorrent design yet, just the costing model.

The patch was extracted from the BZ which indicated Anton was the author, so I
kept that.  I'm listed as co-author just in case someone wants to complain
about the testcase in the future.  I didn't do any notable lifting here.

Thanks Peter and Anton!

PR target/118170
gcc/
* config/riscv/generic-ooo.md (generic_ooo_float_div_half): New
reservation.

gcc/testsuite
* gcc.target/riscv/pr118170.c: New test.

Co-authored-by: Jeff Law <jlaw@ventanamicro.com>
gcc/config/riscv/generic-ooo.md
gcc/testsuite/gcc.target/riscv/pr118170.c [new file with mode: 0644]