toy windowing auto-vec miss

Johan j at j.nl
Mon Nov 7 16:49:24 UTC 2022


On Monday, 7 November 2022 at 01:59:03 UTC, Bruce Carneal wrote:
> Here's a simple godbolt example of one of the areas in which 
> gdc solidly outperforms ldc wrt auto-vectorization: simple but 
> not trivial operand gather
> https://godbolt.org/z/ox1vvxd8s

Don't have time to dive deeper but I found that:
Removing `@restrict` results in vectorized instructions with LDC 
(don't know if it is faster, just that they appear in ASM).

-Johan




More information about the digitalmars-d-ldc mailing list