私が次のものを持っているとしましょう
struct A
{
__m256 a;
}
struct B
{
__m256 a;
float b;
}
ハードコアループで一般的に優れているのは次のうちどれですか(もしあれば、その理由)?
void f0(A a) { ... }
void f1(A& a) { ... } //and the pointer variation
void f2(B b) { ...}
void f3(B& b) { ... } //and the pointer variation