Phil Carmody on Thu, 06 Nov 2003 18:32:46 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Experimenting with the Alpha build.


I was wondering if -ffast-math would do to Pari/GP/GMP on the alpha.
The speed-ups weren't significant on the whole (I should have tried 
-mno-ieee too perhaps), and did cause just one test to fail:

paricvs@megaspaz:~/pari$ more Olinux-alpha/nfields-sta.dif 
*** ../src/test/64/nfields      Tue Oct 21 20:50:26 2003
--- gp.out      Wed Nov  5 14:30:50 2003
***************
*** 1161,1167 ****
  7938845*I
  ? setrand(1);quadclassunit(1-10^7,,[1,1])
  [2416, [1208, 2], [Qfb(277, 55, 9028), Qfb(1700, 1249, 1700)], 1, 1.01137207
! 94145545547]
  ? setrand(1);quadclassunit(10^9-3,,[0.5,0.5])
  [4, [4], [Qfb(3, 1, -83333333, 0.E-57)], 2800.625251907016076486370621737074
  5514, 0.9971375313469357991]
--- 1161,1167 ----
  7938845*I
  ? setrand(1);quadclassunit(1-10^7,,[1,1])
  [2416, [1208, 2], [Qfb(277, 55, 9028), Qfb(1700, 1249, 1700)], 1, 1.01137207
! 94145544404]
  ? setrand(1);quadclassunit(10^9-3,,[0.5,0.5])
  [4, [4], [Qfb(3, 1, -83333333, 0.E-57)], 2800.625251907016076486370621737074
  5514, 0.9971375313469357991]


Does anyone have any reason why the optimisation might be so dangerous?

Phil

=====
When inserting a CD, hold down shift to stop the AutoRun feature
In the Device Manager, disable the SbcpHid device.
http://www.cs.princeton.edu/~jhalderm/cd3/

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree