Module Name:src
Committed By: isaki
Date: Mon Mar 8 14:37:55 UTC 2021
Modified Files:
src/sys/arch/m68k/fpe: fpu_explode.c
Log Message:
Remove incorrect byte and word conversions from fpu_explode.
The correct operation here is arithmetic right shift, but nobody calls it.
Module Name:src
Committed By: isaki
Date: Mon Jan 16 12:05:40 UTC 2017
Modified Files:
src/sys/arch/m68k/fpe: fpu_trig.c
Log Message:
FSINCOS: Fix register address which writes cosine value back.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/
Module Name:src
Committed By: isaki
Date: Sun Jan 15 11:56:11 UTC 2017
Modified Files:
src/sys/arch/m68k/fpe: fpu_exp.c
Log Message:
exp(>11356) is +inf even if extended precision.
exp(<-11401) is 0 even if extended precision.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: isaki
Date: Wed Dec 7 11:27:18 UTC 2016
Modified Files:
src/sys/arch/m68k/fpe: fpu_exp.c
Log Message:
Fix sign of zero in case of x > -(2^18).
# By the way, I will modify this case later.
To generate a diff of this commit:
cvs rdiff -u -r1.
Module Name:src
Committed By: isaki
Date: Tue Dec 6 06:41:14 UTC 2016
Modified Files:
src/sys/arch/m68k/fpe: fpu_mul.c
Log Message:
Fix sign of NAN. Found by XM6i.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/m68k/fpe/fpu_mul.c
Please note
Module Name:src
Committed By: isaki
Date: Tue Dec 6 05:58:19 UTC 2016
Modified Files:
src/sys/arch/m68k/fpe: fpu_cordic.c fpu_emulate.h
Log Message:
Remove fpu_cordit2() and atanh_table[] completely.
Since cordit1 (for trigonometric functions) and cordit2 (for
hyperbolic
Module Name:src
Committed By: isaki
Date: Mon Dec 5 15:31:01 UTC 2016
Modified Files:
src/sys/arch/m68k/fpe: fpu_exp.c fpu_hyperb.c
Log Message:
Improve the exponential and hyperbolic function's performance
10..100 times faster.
PR port-m68k/51645 from rin@ (and modified
Module Name:src
Committed By: isaki
Date: Sat Aug 6 00:58:55 UTC 2016
Modified Files:
src/sys/arch/m68k/fpe: fpu_trig.c
Log Message:
Modify fpu_sin()'s logic to avoid GCC's warning that has been
pointed out in the previous commit.
For fpu_cos() there is no such problem, b
Module Name:src
Committed By: isaki
Date: Thu Aug 4 05:35:19 UTC 2016
Modified Files:
src/sys/arch/m68k/fpe: fpu_cordic.c fpu_emulate.h
Log Message:
Move fpu_cordit2() to #ifdef CORDIC_BOOTSTRAP section.
This reduces ~2KB text segment.
Reported by Krister Walfridsson on t
Module Name:src
Committed By: mrg
Date: Wed Mar 23 05:25:51 UTC 2016
Modified Files:
src/sys/arch/m68k/fpe: fpu_trig.c
Log Message:
avoid a GCC warning with this:
+#if defined(__GNUC__) && (__GNUC__ >= 5) && defined(__OPTIMIZE__)
+ x.fp_sign = 0;
+#endif
(ridiculou
Module Name:src
Committed By: isaki
Date: Thu Feb 5 12:23:27 UTC 2015
Modified Files:
src/sys/arch/m68k/fpe: fpu_explode.c
Log Message:
For the extended precision, the MSB of the mantissa is an integer
part, and this bit must be ignored at Infinity.
found by tests/lib/lib
Module Name:src
Committed By: isaki
Date: Thu Feb 5 12:22:06 UTC 2015
Modified Files:
src/sys/arch/m68k/fpe: fpu_rem.c
Log Message:
Fix typo in comment. pointed out by Y.Sugahara.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/m68k/fpe/fpu_r
Module Name:src
Committed By: isaki
Date: Sat Jan 4 13:23:22 UTC 2014
Modified Files:
src/sys/arch/m68k/fpe: fpu_log.c
Log Message:
FLOGNP1(-0.0) is -0.0, not +0.0. Found by XM6i.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/m68k/fpe/fpu_l
Module Name:src
Committed By: isaki
Date: Wed Jan 1 05:23:40 UTC 2014
Modified Files:
src/sys/arch/m68k/fpe: fpu_div.c
Log Message:
indent fix in a comment.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/m68k/fpe/fpu_div.c
Please note that di
Module Name:src
Committed By: isaki
Date: Wed Jan 1 05:22:22 UTC 2014
Modified Files:
src/sys/arch/m68k/fpe: fpu_div.c
Log Message:
Fix a sign when a source or destination is either (plus/minus)zero
or (plus/minus)infinity. Found by XM6i.
To generate a diff of this com
Module Name:src
Committed By: martin
Date: Fri Oct 25 21:32:46 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_emulate.c
Log Message:
Comment unused stuff (for documentation purposes)
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/m68k/fpe
Module Name:src
Committed By: isaki
Date: Fri Oct 11 03:37:08 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_hyperb.c
Log Message:
FATANH(-0) is -0, not +0.
This bug was introduced by the mistake of my test program.
Last week, I talked about the probelm (my FATANH(-0)
Module Name:src
Committed By: isaki
Date: Sat May 11 12:52:43 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_rem.c
Log Message:
Revise the algorithm after Step3.
almost written by Y.Sugahara and minor modify by me.
This works for all input of FMOD/FREM and of course s
Module Name:src
Committed By: isaki
Date: Sun May 5 13:25:20 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_rem.c
Log Message:
R := X even if L < 0 in Step2, according to algorithm of the comment.
This solves many cases of |X| < |Y|.
To generate a diff of this comm
Module Name:src
Committed By: isaki
Date: Sun May 5 13:17:15 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_rem.c
Log Message:
Rename modrem -> is_mod for a readability.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/m68k/fpe/fpu_rem.c
Module Name:src
Committed By: isaki
Date: Sun Apr 21 02:50:49 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_subr.c
Log Message:
M68010 -> __mc68010__, pointed out by tsutsui@
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/m68k/fpe/fpu_su
Module Name:src
Committed By: isaki
Date: Sat Apr 20 09:32:28 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_subr.c
Log Message:
Rewrite around BFFFO inline asm.
o Prepare C version of BFFFO (from XM6i).
It is helpful in running FPE on other platforms (for example,
Module Name:src
Committed By: isaki
Date: Sat Apr 20 07:33:06 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_hyperb.c
Log Message:
Support sinh(-0.0) and tanh(-0.0).
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/m68k/fpe/fpu_hyperb.c
Pl
Module Name:src
Committed By: isaki
Date: Sat Apr 20 07:32:45 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_trig.c
Log Message:
Support sin(-0.0).
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/m68k/fpe/fpu_trig.c
Please note that diffs
Module Name:src
Committed By: isaki
Date: Sat Apr 20 05:27:05 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_hyperb.c fpu_log.c fpu_trig.c
Log Message:
Clean up some useless codes.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/m68k/fpe/f
Module Name:src
Committed By: isaki
Date: Sat Apr 20 05:09:41 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_trig.c
Log Message:
Support tan(-0.0).
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/m68k/fpe/fpu_trig.c
Please note that diffs
Module Name:src
Committed By: isaki
Date: Sat Apr 20 04:55:44 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_hyperb.c
Log Message:
Fix typo in comment.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/m68k/fpe/fpu_hyperb.c
Please note that
Module Name:src
Committed By: isaki
Date: Sat Apr 20 04:54:22 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_exp.c fpu_hyperb.c
Log Message:
Terminate a loop in EXT_FRACBITS(64bits) instead of FP_NMANT(83bits).
I don't know why the mantissa of the accumulator is 83bit
Module Name:src
Committed By: isaki
Date: Sat Apr 20 04:38:51 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_exp.c fpu_hyperb.c
Log Message:
Break a loop off to avoid a long loop even if the precision is not enough.
To generate a diff of this commit:
cvs rdiff -u -r
Module Name:src
Committed By: isaki
Date: Sat Apr 20 03:26:12 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: README
Log Message:
Update a list of implement/unimplement functions.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/m68k/fpe/README
P
Module Name:src
Committed By: isaki
Date: Sat Apr 20 03:06:20 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_exp.c
Log Message:
Implement exponential and power functions.
o FETOX .. exp(x)
o FETOXM1 .. exp(x) - 1
o FTENTOX .. 10^x
o FTWOTOX .. 2^x
At last all mathem
Module Name:src
Committed By: isaki
Date: Sat Apr 20 01:48:20 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_cordic.c
Log Message:
s/tayler/taylor/. pointed out by christos@
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/m68k/fpe/fpu_cordic
Module Name:src
Committed By: isaki
Date: Fri Apr 19 14:05:12 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_hyperb.c
Log Message:
Implement a hyperbolic arctangent (FATANH).
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/m68k/fpe/fpu_hype
Module Name:src
Committed By: isaki
Date: Fri Apr 19 13:57:53 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_trig.c
Log Message:
Implement inverse trigonometric functions (i.e., FACOS, FASIN, FATAN
instructions).
o arccos is calculated using arcsin.
o arcsin is calcul
Module Name:src
Committed By: isaki
Date: Fri Apr 19 13:31:11 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: files.fpe fpu_emulate.h fpu_hyperb.c fpu_trig.c
Added Files:
src/sys/arch/m68k/fpe: fpu_cordic.c
Log Message:
Introduce the CORDIC algorithm.
o sine and co
Module Name:src
Committed By: isaki
Date: Thu Apr 18 13:40:25 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_trig.c
Log Message:
Improve how to use cmp/sub.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/m68k/fpe/fpu_trig.c
Please note th
Module Name:src
Committed By: isaki
Date: Thu Apr 11 13:27:11 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_emulate.h fpu_hyperb.c fpu_log.c fpu_trig.c
Log Message:
Introduce FPU_CONST_* constants to avoid a magic number.
To generate a diff of this commit:
cvs rdif
Module Name:src
Committed By: isaki
Date: Mon Apr 1 13:59:21 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_arith.h
Log Message:
quad_t -> uint64_t
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/m68k/fpe/fpu_arith.h
Please note that diffs
Module Name:src
Committed By: isaki
Date: Tue Mar 26 11:30:21 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_add.c fpu_arith.h fpu_div.c fpu_emulate.c
fpu_emulate.h fpu_explode.c fpu_fmovecr.c fpu_fscale.c fpu_fstore.c
fpu_implode.c fpu_log.c fp
Module Name:src
Committed By: isaki
Date: Tue Mar 26 10:57:13 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_rem.c
Log Message:
Fix a wrong "raw" comparison in step3.2.
It should solve a PR kern/47692.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 sr
Module Name:src
Committed By: isaki
Date: Sat Mar 23 12:08:47 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_fmovecr.c
Log Message:
Use the #error directive.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/m68k/fpe/fpu_fmovecr.c
Please no
Module Name:src
Committed By: isaki
Date: Sat Mar 23 12:06:24 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_hyperb.c fpu_trig.c
Log Message:
Remove about updating fpsr. It was introduced by me but obviously
duplicated with fpu_emul_arith().
To generate a diff of th
Module Name:src
Committed By: isaki
Date: Fri Mar 22 13:46:38 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_implode.c
Log Message:
Fix fpu_ftox().
Update not only exponential but also mantissa when an integer part
becomes 2 by rounding up. Without this fix, the exte
Module Name:src
Committed By: isaki
Date: Tue Mar 19 09:28:40 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_emulate.h fpu_explode.c
Log Message:
const-ify.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/m68k/fpe/fpu_emulate.h
cvs rdiff -
Module Name:src
Committed By: isaki
Date: Tue Mar 19 09:17:17 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_add.c fpu_arith.h fpu_div.c fpu_emulate.h
fpu_explode.c fpu_implode.c fpu_int.c fpu_mul.c fpu_sqrt.c
fpu_subr.c
Log Message:
Remove 're
Module Name:src
Committed By: isaki
Date: Mon Jun 25 04:52:23 UTC 2012
Modified Files:
src/sys/arch/m68k/fpe: fpu_int.c
Log Message:
Rewrite fpu_int().
Especially, remove the special treatment when |x| < 1
because it forgets to consider FPCR round mode.
See PR/46627 for th
Module Name:src
Committed By: tsutsui
Date: Sat Oct 15 15:34:06 UTC 2011
Modified Files:
src/sys/arch/m68k/fpe: fpu_emulate.h
Log Message:
- remove variable names from function declarations
- some KNF
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/
Module Name:src
Committed By: tsutsui
Date: Sat Oct 15 15:24:28 UTC 2011
Modified Files:
src/sys/arch/m68k/fpe: README
Log Message:
Update implemented/unimplemented FP functions.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/m68k/fpe/README
Pl
Module Name:src
Committed By: tsutsui
Date: Sat Oct 15 15:14:30 UTC 2011
Modified Files:
src/sys/arch/m68k/fpe: fpu_emulate.c fpu_emulate.h fpu_hyperb.c
fpu_trig.c
Log Message:
Add hyperboric and trigonometric functions to m68k FPE, written by isaki@.
With thes
Module Name:src
Committed By: tsutsui
Date: Sun Oct 9 01:34:20 UTC 2011
Modified Files:
src/sys/arch/m68k/fpe: fpu_emulate.h
Log Message:
Use static inline structure assignment for CPYFPN(). From isaki@.
Tested on XM6i.
To generate a diff of this commit:
cvs rdiff -u -
Module Name:src
Committed By: isaki
Date: Mon Jul 18 14:11:27 UTC 2011
Modified Files:
src/sys/arch/m68k/fpe: fpu_calcea.c fpu_emulate.c fpu_fmovecr.c
fpu_fscale.c fpu_fstore.c fpu_int.c fpu_log.c fpu_rem.c
Log Message:
fix indent again.
- "Second level indents
Module Name:src
Committed By: isaki
Date: Mon Jul 18 07:44:31 UTC 2011
Modified Files:
src/sys/arch/m68k/fpe: fpu_calcea.c fpu_emulate.c fpu_emulate.h
fpu_exp.c fpu_explode.c fpu_fmovecr.c fpu_fscale.c fpu_fstore.c
fpu_getexp.c fpu_hyperb.c fpu_implo
Module Name:src
Committed By: tsutsui
Date: Wed May 25 15:47:19 UTC 2011
Modified Files:
src/sys/arch/m68k/fpe: fpu_calcea.c
Log Message:
- consistently use #ifdef DEBUG_FPE and #ifdef DIAGNOSTIC
- use DPRINTF() style debug printfs
- use __func__ to print function names
Module Name:src
Committed By: tsutsui
Date: Wed May 25 15:17:21 UTC 2011
Modified Files:
src/sys/arch/m68k/fpe: fpu_calcea.c
Log Message:
KNF. No binary change.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/m68k/fpe/fpu_calcea.c
Please note
Module Name:src
Committed By: tsutsui
Date: Mon May 23 15:40:34 UTC 2011
Modified Files:
src/sys/arch/m68k/fpe: fpu_emulate.c
Log Message:
- use DPRINTF() style debug printfs
- use __func__ to print function names
- consistently use #ifdef DEBUG_FPE
- add some missing debu
Module Name:src
Committed By: tsutsui
Date: Mon May 23 14:52:31 UTC 2011
Modified Files:
src/sys/arch/m68k/fpe: fpu_emulate.c
Log Message:
KNF, mostly indent. No binary change.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/m68k/fpe/fpu_emulat
Module Name:src
Committed By: tsutsui
Date: Sat May 14 16:17:55 UTC 2011
Modified Files:
src/sys/arch/m68k/fpe: fpu_emulate.c
Log Message:
Fix botch in rev 1.28 that causes wrong results of fcmp and ftst in FPE.
fpu_upd_fpsr() should be called even in discard_result case i
57 matches
Mail list logo