We currently have a @simd annotation in the Legendre Transform. However, following a suggestion from @hottad I've just checked whether this actually makes a difference given that we already use muladd. Using julia 1.8.2, Float32
Similar for Float64. So at the moment @simd makes things somewhat slower. I remember having introduced that as I got slower performance with Float32 compared to Float64 which reduced the problem. But maybe in the mean time some of these compiler issues got addressed.
We currently have a
@simd
annotation in the Legendre Transform. However, following a suggestion from @hottad I've just checked whether this actually makes a difference given that we already usemuladd
. Using julia 1.8.2, Float32with
@simd
and without:Similar for Float64. So at the moment
@simd
makes things somewhat slower. I remember having introduced that as I got slower performance with Float32 compared to Float64 which reduced the problem. But maybe in the mean time some of these compiler issues got addressed.