L
Lynn McGuire
Do many of the prominent C++ compilers support automatic
vectorization, if at all ? I was wondering which of the
following code would get vectorized, if either ?
double x (1000);
for (int i = 0; i < 1000; i++)
x = 0;
-or-
double x (1000);
memset (x, 0, sizeof (x));
Thanks,
Lynn
vectorization, if at all ? I was wondering which of the
following code would get vectorized, if either ?
double x (1000);
for (int i = 0; i < 1000; i++)
x = 0;
-or-
double x (1000);
memset (x, 0, sizeof (x));
Thanks,
Lynn