https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78386
Gustavo Romero changed:
What|Removed |Added
CC||gromero at linux dot
vnet.ibm.com
--- Comment #7 from Gustavo Romero ---
Hi all,
I'm sorry, I told the issue is also present on x64, but I did some additional
tests today and I found it's not true.
On our test case the _LITTLE_ENDIAN macro is used. But on x64 it seems
_LITTLE_ENDIAN is not predefined
(gcc -dM -E - < /dev/null | fgrep "_LITTLE_ENDIAN 1" return nothing, but on
Power it does), so it was not correctly set.
The test case has been updated to reflect that difference, so now:
on x64:
$ ./call ; ./opt_call
cosine total sum is: 0.33853897900536206
cosine total sum is: 0.33853897900536206
on PPC64:
$ ./call ; ./opt_call
cosine total sum is: 0.33853897900536206
cosine total sum is: 0.33853897900538427
Thank you.
Regards