A patch for libm-ieee754

David Edelsohn dje@watson.ibm.com
Sun Feb 22 18:39:00 GMT 1998


>>>>> Geoffrey KEATING writes:

Geoff> Do _not_ mark the variables 'volatile'.  This causes a performance
Geoff> reduction on sparc and powerpc, and probably on alpha and x86 too,
Geoff> because of the memory traffic it generates.

	On PowerPC you probably also need -mno-fused-madd option to
disable use of the fma, etc. instructions because of the intermediate
extended precision.  Note that this will halve FP performance in some
cases. 

David



More information about the Gcc mailing list