Re:Going Faster by Duplicating Code
by lifthrasiir on Wednesday October 11, 2023 @12:16AM
(#37840823)
You can also force it by using extensions like `[[gnu::always_inline]]` or `__forceinline`. I've actually used this technique to generate an auto-vectorizable function whenever it's possible, without any code duplication [1].
[1] https://github.com/lifthrasiir/j40/blob/252e7987d36d50f617f2...