b64bbce367
o sine and cosine (e.g., FSIN, FCOS and FSINCOS instructions) is now calculated in the CORDIC instead of Taylor expansion. o tangent (FTAN) is not touched from a viewpoint of the code size. o The CORDIC is applicable for hyperbolic functions (e.g., FSINH, FCOSH, FTANH instructions), but I didn't use it because its working range is poor. o The CORDIC is also usable for inverse trigonometric functions, I will commit it at next phase. o The code size becomes a bit big. I cannot evaluate speed on m68k for some reasons, but in test on i386 the CORDIC is approximately 100 times faster in sin/cos.
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
# $NetBSD: files.fpe,v 1.3 2013/04/19 13:31:11 isaki Exp $
|
|
|
|
# Config(.new) file for m68k floating point emulator.
|
|
# Included by ports that need it.
|
|
|
|
file arch/m68k/fpe/fpu_add.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_calcea.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_cordic.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_div.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_emulate.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_exp.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_explode.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_fmovecr.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_fscale.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_fstore.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_getexp.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_hyperb.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_implode.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_int.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_log.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_mul.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_rem.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_sqrt.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_subr.c fpu_emulate
|
|
file arch/m68k/fpe/fpu_trig.c fpu_emulate
|