1 Notes 2 ===== 3 4 There seems to be a problem with exp(double) a 5 been able to track it down yet. This does not 6 supplied by Russell King. 7 8 I also found one oddity in the emulator. I do 9 will point it out. The ARM calling convention 10 registers f4-f7 to be preserved over a functio 11 often uses an stfe instruction to save f4 on t 12 function, and an ldfe instruction to restore i 13 14 I was looking at some code, that calculated a 15 then made a function call. Upon return from th 16 f4 had been converted to an extended value in 17 18 This is a side effect of the stfe instruction. 19 converted to extended, then stored. If an lfm 20 then no conversion would occur. This has perf 21 result from the function call and f4 were used 22 emulator sees a multiply of a double and exten 23 extended, then does the multiply in extended p 24 25 This code will cause this problem: 26 27 double x, y, z; 28 z = log(x)/log(y); 29 30 The result of log(x) (a double) will be calcul 31 moved to f4 to preserve it over the log(y) cal 32 in extended precision, due to the stfe instruc
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.