By: rwessel (rwessel.delete@this.yahoo.com), July 1, 2022 8:55 pm
Room: Moderated Discussions
Brendan (btrotter.delete@this.gmail.com) on July 1, 2022 1:24 pm wrote:
>
> Can you think of a single compiler or language that supports automatically converting "array of structures"
> into "structure of arrays" (and auto-detecting when it would be beneficial to do so)?
Isn't that what a number of compilers did to break 462.libquantum in SPEC2006?
Typically the code those compilers would invoke that optimization for was very limited, of course.
>
> Can you think of a single compiler or language that supports automatically converting "array of structures"
> into "structure of arrays" (and auto-detecting when it would be beneficial to do so)?
Isn't that what a number of compilers did to break 462.libquantum in SPEC2006?
Typically the code those compilers would invoke that optimization for was very limited, of course.