-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Code Generation Tools
-
CODEGEN-15223
-
-
-
default
-
The attached test case has these lines ...
__cfloat4 *restrict pxc4 = (__cfloat4*)inFloat;
__cfloat4 *restrict pyc4 = (__cfloat4*)outFloat;
__cfloat4 *restrict pwc4 = (__cfloat4*)inwFloat;
for (k = 0; k < MSIZE; k+=4)
{
*pyc4++ += __complex_multiply(*pxc4++, *pwc4++);
}
When built with --opt_level=off, the first 4 results are: 1.0, 3.0, 1,0, 3.0. When built with --opt_level=0, the first 4 results are: 1.0, 1.0, 1.0, 1.0.