So thinking about GCC and LLVM and code generation. GCC for the most part tries to go down the route that if more than 1 target could benifit, then it should be general code. While LLVM backend folks seems to silo themselves in doing it multiply times.
Examples of GCC where things have started as target specific (mostly aarch64) but now reused:
* CCMP (used by x86 for APX)
* pair-load/stores (used by ppc)
Division by constant -> non-div has target generic for over 20 years.
Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
pinskia (pinskia@hachyderm.io)'s status on Saturday, 30-Nov-2024 10:29:45 JST pinskia