Re: [PATCH] RISC-V: Add Tenstorrent Ascalon 8 wide architecture

2024-12-15 Thread Anton Blanchard
Hi Jeff, Thanks for the review! On Sun, Dec 15, 2024 at 2:59 AM Jeff Law wrote: > If your integer divider has early exit paths you may want to reduce the > int_div costs a bit.I found that ~75% of the actual latency as the > cost worked pretty well for our uarch. Obviously this is a heurist

Re: [PATCH] RISC-V: Add Tenstorrent Ascalon 8 wide architecture

2024-12-14 Thread Jeff Law
On 12/14/24 1:09 AM, Anton Blanchard wrote: This adds the Tenstorrent Ascalon 8 wide architecture (tt-ascalon-d8) to the list of known cores. gcc/ChangeLog: * config/riscv/riscv-cores.def: Add tt-ascalon-d8. * config/riscv/riscv.cc (tt_ascalon_d8_tune_info): New. gcc/testsui

[PATCH] RISC-V: Add Tenstorrent Ascalon 8 wide architecture

2024-12-14 Thread Anton Blanchard
This adds the Tenstorrent Ascalon 8 wide architecture (tt-ascalon-d8) to the list of known cores. gcc/ChangeLog: * config/riscv/riscv-cores.def: Add tt-ascalon-d8. * config/riscv/riscv.cc (tt_ascalon_d8_tune_info): New. gcc/testsuite/ChangeLog: * gcc.target/riscv/mcpu-tt