This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/17415] 3dNOW and gcc3.3 possible oddities


------- Additional Comments From fudje at phreaker dot net  2004-09-13 11:23 -------
(Follow-up to comment #1)
(Sorry about the bugspam)
This yields more or less the same effect:

$ gcc-3.3 -O3 -m3dnow -o 3dnow_test 3dnow-test.c
$ ./3dnow_test
a = [1 2]
b = [3 4]
mul
a = [1 0]
b = [3 4]
c = [3 8]

Oddly enough, in 3.5 we get a different result....

gcc-3.5, -O3 -m3dnow

a = [1 2]
b = [3 4]
mul
a = [nan 2]
b = [3 4]
c = [nan 8]

O0, 3dnow

a = [1 2]
b = [3 4]
mul
a = [1 nan]
b = [3 4]
c = [nan 8]

O1, 3dnow

a = [1 2]
b = [3 4]
mul
a = [1 nan]
b = [3 4]
c = [3 8]

O3, 3dnow, arch=athlon

a = [1 2]
b = [3 4]
mul
a = [nan 2]
b = [3 4]
c = [3 8]



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17415


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]