Array addition and array sum Panama benchmarks

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Tue Mar 26 16:40:36 UTC 2024


>> Personally, I prefer to see vectorizer handling "MoveX2Y (LoadX mem)"
>> => "VectorReinterpret (LoadVector mem)" well and then introduce rules to
>> strength-reduce it to mismatched access.
> 
> Do I understand you right that you're saying the vector node for MoveL2D
> (for instance) is VectorReinterpret so we could vectorize the code.
> 
> Are you then suggesting that we can transform:
> 
> (VectorReinterpret (LoadVector mem)
> 
> into:
> 
> (LoadVector mem)
> 
> with that LoadVector a mismatched access?

Yes, but thinking more about it, the latter step may be optional. For 
example, VectorReinterpret implementation on x86 is a no-op, so not much 
gained from folding VectorReinterpret+LoadVector into a mismatched 
LoadVector.

Best regards,
Vladimir Ivanov


More information about the panama-dev mailing list