📄 fplsp060alib.s
字号:
/* fplsp060ALib.s - MC68060 floating point unimplemented instruction library *//* Copyright 1984-1994 Wind River Systems, Inc. */ .data .globl _copyright_wind_river .long _copyright_wind_river/*modification history--------------------01a,29jun94,tpr clean up following code review. written, floating point unimplemented instruction code from Motorola FPSP B1 version.*//*DESCRIPTIONThis file provides the emulation of the MC68060 unimplemented floating pointinstructions. The floating point instructions emulated by this library are: facos[sdx] fasin[sdx] fatan[sdx] fatanh[sdx] fcos[sdx] fcosh[sdx] fetox[sdx] fetoxm1[sdx] fgetexp[sdx] fgetman[sdx] flog10[sdx] flog2[sdx] flogn[sdx] flognp1[sdx] fmod[sdx] frem[sdx] fscale[sdx] fsin[sdx] fsincos[sdx] fsinh[sdx] ftan[sdx] ftanh[sdx] ftentox[sdx] ftwotox[sdx] fabs[sdx] fadd[sdx] fdiv[sdx] fint[sdx] fintrz[sdx] fmul[sdx] fneg[sdx] fsqrt[sdx] fsub[sdx]The suffix s,d or x indicates the floating point format used by thefunction to compute the result. The letter s is used for single precision format, d for double and x for extended.The unimplemented floating point instruction emulation code comes from theMotorola software package. The only format supported by Motorola is ahexadecimal image of the source code. This hex image contains an entry-pointsection and a code section.The entry-point section will remain the same across new releases so thatthe calling routines will not to be re-compiled. The entry point address for a function is computed by adding to the hexadecimal image top addressFPLSP_060_TOP an offset. This offset is defined by Motorola.Nevertheless to facilited the use of this library the fplsp060Lib.h fileprovides the macros to allow a direct call of the entry points.The original Motorola file was incorporated in this file by replacing the"dc.l" directive by ".long" and all "$" by "0x".*/ /* internals */ /* externals */ .global _FPLSP_060_TOP .global FPLSP_060_TOP .text .even/* * The hexa image name is double defined to allow the macro names define in the * fplsp060Lib.h to be used by either assembly files or C files. With the C * files the C complier adds an "_" in front of each name. So the * _FPLSP_060_TOP name is used by the C files and the FPLSP_060_TOP name is * used by the assembly files. */_FPLSP_060_TOP:FPLSP_060_TOP: .long 0x60ff0000,0x2b760000,0x60ff0000,0x2c080000 .long 0x60ff0000,0x2c9e0000,0x60ff0000,0x18ee0000 .long 0x60ff0000,0x19800000,0x60ff0000,0x1a160000 .long 0x60ff0000,0x16fe0000,0x60ff0000,0x17900000 .long 0x60ff0000,0x18260000,0x60ff0000,0x1a960000 .long 0x60ff0000,0x1b280000,0x60ff0000,0x1bbe0000 .long 0x60ff0000,0x0d960000,0x60ff0000,0x0e280000 .long 0x60ff0000,0x0ebe0000,0x60ff0000,0x29260000 .long 0x60ff0000,0x29b80000,0x60ff0000,0x2a4e0000 .long 0x60ff0000,0x1dfe0000,0x60ff0000,0x1e900000 .long 0x60ff0000,0x1f260000,0x60ff0000,0x12d60000 .long 0x60ff0000,0x13680000,0x60ff0000,0x13fe0000 .long 0x60ff0000,0x2c8e0000,0x60ff0000,0x2d200000 .long 0x60ff0000,0x2db60000,0x60ff0000,0x2e4e0000 .long 0x60ff0000,0x2ee00000,0x60ff0000,0x2f760000 .long 0x60ff0000,0x24fe0000,0x60ff0000,0x25900000 .long 0x60ff0000,0x26260000,0x60ff0000,0x26be0000 .long 0x60ff0000,0x27500000,0x60ff0000,0x27e60000 .long 0x60ff0000,0x22f60000,0x60ff0000,0x23880000 .long 0x60ff0000,0x241e0000,0x60ff0000,0x106e0000 .long 0x60ff0000,0x11000000,0x60ff0000,0x11960000 .long 0x60ff0000,0x33d80000,0x60ff0000,0x348c0000 .long 0x60ff0000,0x35400000,0x60ff0000,0x31800000 .long 0x60ff0000,0x32340000,0x60ff0000,0x32e80000 .long 0x60ff0000,0x35e80000,0x60ff0000,0x369c0000 .long 0x60ff0000,0x37500000,0x60ff0000,0x0a860000 .long 0x60ff0000,0x0b180000,0x60ff0000,0x0bae0000 .long 0x60ff0000,0x2f4e0000,0x60ff0000,0x2fe60000 .long 0x60ff0000,0x30820000,0x60ff0000,0x0e060000 .long 0x60ff0000,0x0e980000,0x60ff0000,0x0f2e0000 .long 0x60ff0000,0x1ad60000,0x60ff0000,0x1b680000 .long 0x60ff0000,0x1bfe0000,0x60ff0000,0x135e0000 .long 0x60ff0000,0x13f00000,0x60ff0000,0x14860000 .long 0x60ff0000,0x202e0000,0x60ff0000,0x20c00000 .long 0x60ff0000,0x21560000,0x60ff0000,0x1e3e0000 .long 0x60ff0000,0x1ed00000,0x60ff0000,0x1f660000 .long 0x60ff0000,0x06580000,0x60ff0000,0x06580000 .long 0x60ff0000,0x06580000,0x60ff0000,0x05180000 .long 0x60ff0000,0x052e0000,0x60ff0000,0x05440000 .long 0x60ff0000,0x05de0000,0x60ff0000,0x05f40000 .long 0x60ff0000,0x060a0000,0x60ff0000,0x06580000 .long 0x60ff0000,0x06580000,0x60ff0000,0x06580000 .long 0x60ff0000,0x06580000,0x60ff0000,0x06580000 .long 0x60ff0000,0x06580000,0x60ff0000,0x054c0000 .long 0x60ff0000,0x05620000,0x60ff0000,0x05780000 .long 0x60ff0000,0x05e00000,0x60ff0000,0x05e00000 .long 0x60ff0000,0x05e00000,0x60ff0000,0x05e00000 .long 0x60ff0000,0x05e00000,0x60ff0000,0x05e00000 .long 0x60ff0000,0x04ba0000,0x60ff0000,0x04d00000 .long 0x60ff0000,0x04e60000,0x51fc51fc,0x51fc51fc .long 0x51fc51fc,0x51fc51fc,0x51fc51fc,0x51fc51fc .long 0x51fc51fc,0x51fc51fc,0x51fc51fc,0x51fc51fc .long 0x51fc51fc,0x51fc51fc,0x51fc51fc,0x51fc51fc .long 0x51fc51fc,0x51fc51fc,0x51fc51fc,0x51fc51fc .long 0x51fc51fc,0x51fc51fc,0x51fc51fc,0x51fc51fc .long 0x51fc51fc,0x51fc51fc,0x51fc51fc,0x51fc51fc .long 0x51fc51fc,0x51fc51fc,0x51fc51fc,0x51fc51fc .long 0x51fc51fc,0x51fc51fc,0x51fc51fc,0x51fc51fc .long 0x51fc51fc,0x51fc51fc,0x51fc51fc,0x51fc51fc .long 0x51fc51fc,0x51fc51fc,0x51fc51fc,0x51fc51fc .long 0x51fc51fc,0x51fc51fc,0x51fc51fc,0x51fc51fc .long 0x51fc51fc,0x51fc51fc,0x51fc51fc,0x51fc51fc .long 0x51fc51fc,0x51fc51fc,0x51fc51fc,0x51fc51fc .long 0x51fc51fc,0x51fc51fc,0x51fc51fc,0x51fc51fc .long 0x40c62d38,0xd3d64634,0x3d6f90ae,0xb1e75cc7 .long 0x40000000,0xc90fdaa2,0x2168c235,0x00000000 .long 0x3fff0000,0xc90fdaa2,0x2168c235,0x00000000 .long 0x3fe45f30,0x6dc9c883,0x30280000,0x02407fff .long 0x0c407fff,0x67380828,0x00070004,0x6706103c .long 0x00004e75,0x4a406618,0x4aa80004,0x660c4aa8 .long 0x00086606,0x103c0001,0x4e75103c,0x00044e75 .long 0x61ff0000,0x747a4e75,0x103c0006,0x4e754aa8 .long 0x00086612,0x20280004,0x02807fff,0xffff6606 .long 0x103c0002,0x4e75103c,0x00034e75,0x7fff0000 .long 0xffffffff,0xffffffff,0x4a280000,0x6a3800ae .long 0x0a000410,0xff64082e,0x0002ff62,0x660af23c .long 0x4400ff80,0x00004e75,0xf22ed080,0xffdcf22e .long 0x9000ff60,0xf23c4480,0xbf800000,0xf23c44a0 .long 0x00000000,0x4e7500ae,0x02000410,0xff64082e .long 0x0002ff62,0x660af23c,0x44007f80,0x00004e75 .long 0xf22ed080,0xffdcf22e,0x9000ff60,0xf23c4480 .long 0x3f800000,0xf23c44a0,0x00000000,0x4e7500ae .long 0x01002080,0xff64082e,0x0005ff62,0x6608f23a .long 0xd080ff6a,0x4e75f22e,0xd080ffdc,0xf22e9000 .long 0xff60f227,0xe004f23c,0x45007f80,0x0000f23c .long 0x45230000,0x0000f21f,0xd0204e75,0x7ffe0000 .long 0xffffffff,0xffffffff,0xfffe0000,0xffffffff .long 0xffffffff,0x00000000,0x80000000,0x00000000 .long 0x80000000,0x80000000,0x00000000,0x4a280000 .long 0x6a2600ae,0x08000a28,0xff64f22e,0x9000ff60 .long 0xf23ad080,0xffdcf23a,0x4823ffca,0xf200a800 .long 0xe1981d40,0xff644e75,0x006e0a28,0xff66f22e .long 0x9000ff60,0xf23ad080,0xffacf200,0x0023f200 .long 0xa800e198,0x1d40ff64,0x4e7500ae,0x00001048 .long 0xff641200,0x020100c0,0x6700005a,0x3d680000 .long 0xff842d68,0x0004ff88,0x2d680008,0xff8c41ee .long 0xff8448e7,0xc08061ff,0x0000729c,0x4cdf0103 .long 0x0c010040,0x66104aa8,0x00086618,0x4a280007 .long 0x66126000,0x00202228,0x00080281,0x000007ff .long 0x67000012,0x00ae0000,0x0200ff64,0x6006006e .long 0x1248ff66,0x4a280000,0x6a22f22e,0x9000ff60 .long 0xf23ad080,0xff14f23a,0x4823ff02,0xf200a800 .long 0xe1980000,0x00001d40,0xff644e75,0xf22e9000 .long 0xff60f23a,0xd080fee6,0xf23a4823,0xfee0f200 .long 0xa800e198,0x1d40ff64,0x4e75006e,0x1248ff66 .long 0xf22e9000,0xff60f23a,0xd080fec2,0xf23a4823 .long 0xfebcf200,0xa800e198,0x1d40ff64,0x4e75f200 .long 0xa80081ae,0xff646020,0xf200a800,0x81aeff64 .long 0xf294000e,0xf2810032,0x006e0208,0xff666008 .long 0x00ae0800,0x0208ff64,0x082e0001,0xff626602 .long 0x4e75f22e,0x9000ff60,0xf23c4480,0x3f800000 .long 0xf23a48a2,0xfe804e75,0x1d7c0004,0xff64006e .long 0x0208ff66,0x4e75f22e,0x9000ff60,0xf2284800 .long 0x0000f200,0xa8000080,0x00000a28,0x81aeff64 .long 0x4e75f22e,0x9000ff60,0xf2284800,0x0000f200 .long 0xa80081ae,0xff644e75,0x4e75f229,0x48000000 .long 0x4a290000,0x6b081d7c,0x0001ff64,0x4e751d7c .long 0x0009ff64,0x4e75f228,0x48000000,0x4a280000 .long 0x6b081d7c,0x0001ff64,0x4e751d7c,0x0009ff64 .long 0x4e75f227,0xb000f23c,0x90000000,0x0000f22f .long 0x44000008,0xf21f9000,0xf22f4422,0x00084e75 .long 0xf227b000,0xf23c9000,0x00000000,0xf22f5400 .long 0x0008f21f,0x9000f22f,0x5422000c,0x4e75f22f .long 0xd0800004,0xf22f4822,0x00104e75,0xf227b000 .long 0xf23c9000,0x00000000,0xf22f4400,0x0008f21f .long 0x9000f22f,0x44280008,0x4e75f227,0xb000f23c .long 0x90000000,0x0000f22f,0x54000008,0xf21f9000 .long 0xf22f5428,0x000c4e75,0xf22fd080,0x0004f22f .long 0x48280010,0x4e75f227,0xb000f23c,0x90000000 .long 0x0000f22f,0x44000008,0xf21f9000,0xf22f4423 .long 0x00084e75,0xf227b000,0xf23c9000,0x00000000 .long 0xf22f5400,0x0008f21f,0x9000f22f,0x5423000c .long 0x4e75f22f,0xd0800004,0xf22f4823,0x00104e75 .long 0xf227b000,0xf23c9000,0x00000000,0xf22f4400 .long 0x0008f21f,0x9000f22f,0x44200008,0x4e75f227 .long 0xb000f23c,0x90000000,0x0000f22f,0x54000008 .long 0xf21f9000,0xf22f5420,0x000c4e75,0xf22fd080 .long 0x0004f22f,0x48200010,0x4e75f22f,0x44180004 .long 0x4e75f22f,0x54180004,0x4e75f22f,0x48180004 .long 0x4e75f22f,0x441a0004,0x4e75f22f,0x541a0004 .long 0x4e75f22f,0x481a0004,0x4e75f22f,0x44040004 .long 0x4e75f22f,0x54040004,0x4e75f22f,0x48040004 .long 0x4e75f22f,0x44010004,0x4e75f22f,0x54010004 .long 0x4e75f22f,0x48010004,0x4e75f22f,0x44030004 .long 0x4e75f22f,0x54030004,0x4e75f22f,0x48030004 .long 0x4e754a28,0x00006b10,0xf23c4400,0x00000000 .long 0x1d7c0004,0xff644e75,0xf23c4400,0x80000000 .long 0x1d7c000c,0xff644e75,0x4a290000,0x6bea60d8 .long 0x4a280000,0x6b10f23c,0x44007f80,0x00001d7c .long 0x0002ff64,0x4e75f23c,0x4400ff80,0x00001d7c .long 0x000aff64,0x4e754a29,0x00006bea,0x60d84a28 .long 0x00006ba4,0x60d04a28,0x00006b00,0xfba260c6 .long 0x4a280000,0x6b1660be,0x4a280000,0x6b0ef23c .long 0x44003f80,0x0000422e,0xff644e75,0xf23c4400 .long 0xbf800000,0x1d7c0008,0xff644e75,0x3fff0000 .long 0xc90fdaa2,0x2168c235,0xbfff0000,0xc90fdaa2 .long 0x2168c235,0x4a280000,0x6b0ef200,0x9000f23a .long 0x4800ffda,0x6000fcf2,0xf2009000,0xf23a4800 .long 0xffd86000,0xfcecf23c,0x44803f80,0x00004a28 .long 0x00006a10,0xf23c4400,0x80000000,0x1d7c000c .long 0xff644e75,0xf23c4400,0x00000000,0x1d7c0004 .long 0xff644e75,0xf23a4880,0xfa846000,0xfb02f228 .long 0x48800000,0x6000fd30,0x122eff4f,0x67ff0000 .long 0x53a20c01,0x00016700,0x00780c01,0x000267ff .long 0xfffffade,0x0c010004,0x67ff0000,0x538660ff .long 0xfffffcea,0x122eff4f,0x67ffffff,0xfac40c01 .long 0x000167ff,0xfffffaba,0x0c010002,0x67ffffff .long 0xfab00c01,0x000467ff,0xfffffaa6,0x60ffffff .long 0xfcbc122e,0xff4f67ff,0x00000044,0x0c010001 .long 0x67ff0000,0x001e0c01,0x000267ff,0xfffffa82 .long 0x0c010004,0x67ff0000,0x002660ff,0xfffffc8e .long 0x12280000,0x10290000,0xb1010201,0x00801d41 .long 0xff654a00,0x6a00fe52,0x6000fe5e,0x422eff65 .long 0x2f001228,0x00001029,0x0000b101,0x02010080 .long 0x1d41ff65,0x0c2e0004,0xff4f660c,0x41e90000 .long 0x201f60ff,0xfffffc2e,0xf21f9000,0xf2294800 .long 0x00004a29,0x00006b02,0x4e751d7c,0x0008ff64 .long 0x4e75122e,0xff4f67ff,0x000052c4,0x0c010001 .long 0x6700ff8e,0x0c010002,0x67ffffff,0xf9f40c01 .long 0x000467ff,0x000052a8,0x60ffffff,0xfc00122e .long 0xff4f67ff,0xfffff9da,0x0c010001,0x67ffffff .long 0xf9d00c01,0x000267ff,0xfffff9c6,0x0c010004 .long 0x67ffffff,0xf9bc60ff,0xfffffbd2,0x122eff4f .long 0x6700ff5a,0x0c010001,0x6700ff36,0x0c010002 .long 0x67ffffff,0xf99c0c01,0x000467ff,0xffffff40 .long 0x60ffffff,0xfba8122e,0xff4f67ff,0x000054bc .long 0x0c010001,0x67ffffff,0xfd920c01,0x000267ff .long 0xfffffdb6,0x0c010004,0x67ff0000,0x549e60ff .long 0xfffffb7a,0x122eff4f,0x67ff0000,0x548e0c01
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -