bespoke-silicon-group / bsg_manycore

Tile based architecture designed for computing efficiency, scalability and generality
Other
214 stars 56 forks source link

De-schedule MULH #681

Closed dpetrisko closed 1 year ago

dpetrisko commented 1 year ago

https://github.com/bespoke-silicon-group/bsg_replicant/issues/801

MULH is not supported but there's nothing preventing the toolchain from generating them right now (except that it's rarely a useful instruction). Structs, however, sometimes benefit from these optimizations. This is not an issue suggesting to implement MULH, but instead to modify the GCC manycore profile such that MULH is very very low. This should influence the compiler to choose MUL + shift instead of MULH, since there is no unique functionality that MULH provides

dpetrisko commented 1 year ago

Moving to riscv-gcc repo