3 # MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
4 # M68000 Hi-Performance Microprocessor Division
5 # M68040 Software Package
7 # M68040 Software Package Copyright (c) 1993, 1994 Motorola Inc.
10 # THE SOFTWARE is provided on an "AS IS" basis and without warranty.
11 # To the maximum extent permitted by applicable law,
12 # MOTOROLA DISCLAIMS ALL WARRANTIES WHETHER EXPRESS OR IMPLIED,
13 # INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
14 # PARTICULAR PURPOSE and any warranty against infringement with
15 # regard to the SOFTWARE (INCLUDING ANY MODIFIED VERSIONS THEREOF)
16 # and any accompanying written materials.
18 # To the maximum extent permitted by applicable law,
19 # IN NO EVENT SHALL MOTOROLA BE LIABLE FOR ANY DAMAGES WHATSOEVER
20 # (INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS
21 # PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR
22 # OTHER PECUNIARY LOSS) ARISING OF THE USE OR INABILITY TO USE THE
23 # SOFTWARE. Motorola assumes no responsibility for the maintenance
24 # and support of the SOFTWARE.
26 # You are hereby granted a copyright license to use, modify, and
27 # distribute the SOFTWARE so long as this entire notice is retained
28 # without alteration in any modified and/or redistributed versions,
29 # and that such modified versions are clearly identified as such.
30 # No licenses are granted by implication, estoppel or otherwise
31 # under any patents or trademarks of Motorola, Inc.
35 # Each line specifies the entry points for one function. The first
36 # 3 items are the library entry point names for the single, double and
37 # extended precision versions of the function. Change them to
38 # suit your system. The next item is
39 # either MONADIC or DYADIC. The remaining 5 items are the labels
40 # in the FPSP code that correspond to subroutines to handle Regular,
41 # Zero, Infinity, Nan and Denorm input values.
45 #Sgl Dbl. Ext. Type Reg Zero Inf Nan Denorm
46 #---------------------- ---- --- ---- --- --- ------
47 facoss facosd facosx MONADIC sacos ld_ppi2 t_operr mon_nan sacosd
48 fasins fasind fasinx MONADIC sasin szero t_operr mon_nan sasind
49 fatans fatand fatanx MONADIC satan szero spi_2 mon_nan satand
50 fatanhs fatanhd fatanhx MONADIC satanh szero t_operr mon_nan satanhd
51 fcoss fcosd fcosx MONADIC scos ld_pone t_operr mon_nan scosd
52 fcoshs fcoshd fcoshx MONADIC scosh ld_pone ld_pinf mon_nan scoshd
53 fetoxs fetoxd fetoxx MONADIC setox ld_pone szr_inf mon_nan setoxd
54 fetoxm1s fetoxm1d fetoxm1x MONADIC setoxm1 szero setoxm1i mon_nan setoxm1d
55 fgetexps fgetexpd fgetexpx MONADIC sgetexp szero t_operr mon_nan sgetexpd
56 fsins fsind fsinx MONADIC ssin szero t_operr mon_nan ssind
57 fsinhs fsinhd fsinhx MONADIC ssinh szero sinf mon_nan ssinhd
58 ftans ftand ftanx MONADIC stan szero t_operr mon_nan stand
59 ftanhs ftanhd ftanhx MONADIC stanh szero sone mon_nan stanhd
60 ftentoxs ftentoxd ftentoxx MONADIC stentox ld_pone szr_inf mon_nan stentoxd
61 ftwotoxs ftwotoxd ftwotoxx MONADIC stwotox ld_pone szr_inf mon_nan stwotoxd
62 fgetmans fgetmand fgetmanx MONADIC sgetman szero t_operr mon_nan sgetmand
63 flogns flognd flognx MONADIC sslogn t_dz2 sopr_inf mon_nan sslognd
64 flog2s flog2d flog2x MONADIC sslog2 t_dz2 sopr_inf mon_nan sslog2d
65 flog10s flog10d flog10x MONADIC sslog10 t_dz2 sopr_inf mon_nan sslog10d
66 flognp1s flognp1d flognp1x MONADIC sslognp1 szero sopr_inf mon_nan slognp1d
67 fints fintd fintx MONADIC l_sint szero sinf mon_nan l_sintd
68 fintrzs fintrzd fintrzx MONADIC l_sintrz szero sinf mon_nan snzrinx
69 frems fremd fremx DYADIC prem
70 fmods fmodd fmodx DYADIC pmod
71 fscales fscaled fscalex DYADIC pscale
73 # 68040 native instructions added for completeness
75 fabss fabsd fabsx MONADIC sabs sabs sabs sabs sabs
76 fnegs fnegd fnegx MONADIC sneg sneg sneg sneg sneg
77 fsqrts fsqrtd fsqrtx MONADIC ssqrt ssqrt ssqrt ssqrt ssqrt
78 fadds faddd faddx DYADIC sadd
79 fsubs fsubd fsubx DYADIC ssub
80 fmuls fmuld fmulx DYADIC smul
81 fdivs fdivd fdivx DYADIC sdiv