1 TODO LIST 2 ========= 3 4 :: 5 6 POW{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> 7 RPW{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> 8 POL{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> 9 10 LOG{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - lo 11 LGN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - lo 12 EXP{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - ex 13 SIN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - si 14 COS{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - co 15 TAN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - ta 16 ASN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - ar 17 ACS{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - ar 18 ATN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - ar 19 20 These are not implemented. They are not curre 21 and are handled by routines in libc. These ar 22 hardware, but are handled by the floating poin 23 be implemented in future versions. 24 25 There are a couple of ways to approach the imp 26 method would be to use accurate table methods 27 a couple of papers by S. Gal from IBM's resear 28 seem to promise extreme accuracy (in the order 29 These methods are used in GLIBC for some of th 30 31 Another approach, which I know little about is 32 Coordinate Rotation Digital Computer, and is a 33 transcendental functions using mostly shifts a 34 multiplications and divisions. The ARM excels 35 so such a method could be promising, but requi 36 determine if it is feasible. 37 38 Rounding Methods 39 ---------------- 40 41 The IEEE standard defines 4 rounding modes. R 42 default, but rounding to + or - infinity or ro 43 Many architectures allow the rounding mode to 44 in a control register. Not so with the ARM FP 45 the rounding mode one must specify it with eac 46 47 This has made porting some benchmarks difficul 48 introduce such a capability into the emulator. 49 bits describing the rounding mode. The emulat 50 examine a flag, which if set forced it to igno 51 the instruction, and use the mode specified in 52 53 This would require a method of getting/setting 54 in the FPCR. This requires a kernel call in A 55 supervisor only instructions. If anyone has a 56 would like to hear them. 57 58 NOTE: 59 pulled out from some docs on ARM floating poi 60 for the Acorn FPE, but not limited to it: 61 62 The floating point control register (FPCR) ma 63 implementations: it is there to control the h 64 specific manner, for example to disable the f 65 mode of the ARM is not permitted to use this 66 reserved to alter it between implementations) 67 instructions will trap if tried in user mode. 68 69 Hence, the answer is yes, you could do this, 70 risk of becoming isolated if and when hardwar 71 72 -- Russell.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.