Commit Graph

218225 Commits

Author SHA1 Message Date
wiz
47c6fa449f Fix path. 2013-04-20 15:30:34 +00:00
wiz
9dc14f8abd Merge pkg_install-20130420. 2013-04-20 15:29:22 +00:00
wiz
ac52c41608 Import pkg_install from current pkgsrc.
Licence changes and less warnings when opsys doesn't match build
host opsys version, and documentation updates.
2013-04-20 15:26:52 +00:00
macallan
04df369c97 bump ICU_LEN
from Phileas Fogg
2013-04-20 13:32:40 +00:00
rkujawa
0f86c4f94a Add support for 16750 style UARTs. Activated by defining COM_16750.
Obtained from Marvell, Semihalf.
2013-04-20 11:52:40 +00:00
rkujawa
cb2a012804 Add spiflash device to MAKEDEV template and MAKEDEV config on evbarm.
Obtained from Marvell, Semihalf.
2013-04-20 11:41:51 +00:00
rkujawa
52e9bd0cf4 Add character device for spiflash.
Obtained from Marvell, Semihalf.
2013-04-20 09:48:32 +00:00
rkujawa
0735074772 Regen PCI devs database. 2013-04-20 09:38:16 +00:00
isaki
2cb1fdf4a5 Rewrite around BFFFO inline asm.
o Prepare C version of BFFFO (from XM6i).
  It is helpful in running FPE on other platforms (for example, for a
  test).  It is also helpful in porting to non-m68k 3rd party :)
o A BFFFO is supported on 68020 or later (though I'm not sure whether
  sun2/68010 uses this FPE correctly or not).
2013-04-20 09:32:28 +00:00
rkujawa
19ee549641 Add IDs for Marvell Armada XP.
Obtained from Marvell, Semihalf.
2013-04-20 09:26:23 +00:00
mlelstv
5319147235 Now use correct test files and pass child failures to test function. 2013-04-20 09:00:03 +00:00
isaki
70153dd489 Support sinh(-0.0) and tanh(-0.0). 2013-04-20 07:33:05 +00:00
isaki
0cee51ef54 Support sin(-0.0). 2013-04-20 07:32:45 +00:00
isaki
cc956d5848 m68k FPE supports all mathematics functions. 2013-04-20 05:46:20 +00:00
isaki
adcd4b71b5 Clean up some useless codes. 2013-04-20 05:27:05 +00:00
isaki
1db93fc92a Support tan(-0.0). 2013-04-20 05:09:41 +00:00
isaki
956d42b4aa Fix typo in comment. 2013-04-20 04:55:44 +00:00
isaki
026814fd27 Terminate a loop in EXT_FRACBITS(64bits) instead of FP_NMANT(83bits).
I don't know why the mantissa of the accumulator is 83bits, but 64bits
or more are not affected.
2013-04-20 04:54:22 +00:00
isaki
5d5a7da8b2 Break a loop off to avoid a long loop even if the precision is not enough. 2013-04-20 04:38:51 +00:00
khorben
df80140090 Imported the n900cambtn(4), n900camcvr(4) and n900kbdsld(4) drivers for the
Nokia N900, all attaching to the GPIO bus, respectively handling:
- the camera button (focus and capture)
- the camera cover slide;
- the keypad slide.
2013-04-20 03:37:55 +00:00
isaki
c5ad1dc3ef Update a list of implement/unimplement functions. 2013-04-20 03:26:11 +00:00
isaki
ea6e6f37fa 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 mathematics functions of FPE were implemented.
Thanks to Yosuke Sugahara.
2013-04-20 03:06:19 +00:00
isaki
0f49abface s/tayler/taylor/. pointed out by christos@ 2013-04-20 01:48:20 +00:00
joerg
d1548b5ebd More __BEGIN_DECLS / __END_DECLS wrappers. 2013-04-19 23:45:15 +00:00
joerg
6c5ca8f80c Add missing __BEGIN_DECLS/__END_DECLS. 2013-04-19 23:42:26 +00:00
joerg
9790c07a61 Add scanf_l and wscanf_l families. 2013-04-19 23:32:16 +00:00
joerg
e81d3f1ebf Add dummy strcoll_l and strxfrm_l. 2013-04-19 23:28:47 +00:00
matt
b0c992be1b for EARM, just build __lwp_park50 compat for libpthread until the situation
is involved.
2013-04-19 22:24:10 +00:00
matt
4b9c2e46bb Fix inverted test. 2013-04-19 21:02:43 +00:00
joerg
92ad0d098d Add libc/locale to the search path. 2013-04-19 20:18:33 +00:00
christos
ba8c9169d1 make NOSTRICT behave the same a LINTED; use the new format. 2013-04-19 18:51:14 +00:00
christos
4d5c8627ad document LINTEDn 2013-04-19 18:46:50 +00:00
joerg
ed6b016ecc More locale hacks. 2013-04-19 18:45:03 +00:00
christos
32c6bb3802 Allow linted comments to take an argument that defines which error to suppress. 2013-04-19 17:43:05 +00:00
matt
7d19b890df Since earm is new, don't bother building the compat libc code since there
is nothing that can use it.
2013-04-19 16:53:18 +00:00
matt
a1629854ac Ignore VFP bit in magic. 2013-04-19 16:50:22 +00:00
joerg
386426dedd If __FLT_EVAL_METHOD__ exists and is in {0,1,2}, provide float_t and
double_t.
2013-04-19 16:40:59 +00:00
joerg
2561b63430 Add explicit locale versions for the printf family. Replace asprintf,
snprintf and sprintf with simple wrappers around the corresponding
va_list functions to reduce code duplication.
2013-04-19 15:22:24 +00:00
joerg
3c1c8515c7 Add MB_CUR_MAX_L. 2013-04-19 14:35:31 +00:00
isaki
397d02332b Implement a hyperbolic arctangent (FATANH). 2013-04-19 14:05:12 +00:00
isaki
b9e60bfea4 Implement inverse trigonometric functions (i.e., FACOS, FASIN, FATAN
instructions).
o arccos is calculated using arcsin.
o arcsin is calculated using arctan.
o arctan is calculated by the CORDIC.
2013-04-19 13:57:52 +00:00
matt
92551f8725 A small optimization 2013-04-19 13:45:45 +00:00
isaki
b64bbce367 Introduce the CORDIC algorithm.
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.
2013-04-19 13:31:11 +00:00
skrll
5ea8d4cfd1 Actually fail if the magic number is found to be wrong in __longjmp.
Avoid overwriting the {,_}longjmp return value in __ARM_EABI__

ok matt@
2013-04-19 13:14:10 +00:00
joerg
0feb0f126e Pass locale down to gethex as well. 2013-04-19 10:41:53 +00:00
skrll
2d688776a6 Fix logic inversion. 2013-04-19 05:36:16 +00:00
msaitoh
e016df2794 wm(4): Add support for I210 and I211. 2013-04-19 00:42:53 +00:00
msaitoh
423398df04 Add I21[01]. 2013-04-19 00:40:59 +00:00
joerg
10e0e4a06b Add wcscoll_l, wcsxfrm_l, wcsncasecmp_l, wcscasecmp_l, btowc_l,
mbrlen_l, mbsinit_l, mbsrtowcs_l, wcrtomb_l, wcsrtombs_l and wctob_l.
2013-04-18 23:24:26 +00:00
joerg
9a7fa6ff3c Add wcstof_l, wcstod_l and wcstold_l. 2013-04-18 22:23:17 +00:00