^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) M68000 Hi-Performance Microprocessor Division
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) M68060 Software Package
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Production Release P1.00 -- October 10, 1994
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) M68060 Software Package Copyright © 1993, 1994 Motorola Inc. All rights reserved.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) THE SOFTWARE is provided on an "AS IS" basis and without warranty.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) To the maximum extent permitted by applicable law,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) MOTOROLA DISCLAIMS ALL WARRANTIES WHETHER EXPRESS OR IMPLIED,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) and any warranty against infringement with regard to the SOFTWARE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) (INCLUDING ANY MODIFIED VERSIONS THEREOF) and any accompanying written materials.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) To the maximum extent permitted by applicable law,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) IN NO EVENT SHALL MOTOROLA BE LIABLE FOR ANY DAMAGES WHATSOEVER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) (INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) ARISING OF THE USE OR INABILITY TO USE THE SOFTWARE.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Motorola assumes no responsibility for the maintenance and support of the SOFTWARE.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) You are hereby granted a copyright license to use, modify, and distribute the SOFTWARE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) so long as this entire notice is retained without alteration in any modified and/or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) redistributed versions, and that such modified versions are clearly identified as such.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) No licenses are granted by implication, estoppel or otherwise under any patents
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) or trademarks of Motorola, Inc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 68060 FLOATING-POINT SOFTWARE PACKAGE (Kernel version)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) -------------------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) The file fpsp.sa contains the 68060 Floating-Point Software
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) Package. This package is essentially a set of exception handlers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) that can be integrated into an operating system.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) These exception handlers emulate Unimplemented FP instructions,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) instructions using unimplemented data types, and instructions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) using unimplemented addressing modes. In addition, this package
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) includes exception handlers to provide full IEEE-754 compliant
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) exception handling.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) Release file format:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) --------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) The file fpsp.sa is essentially a hexadecimal image of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) release package. This is the ONLY format which will be supported.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) The hex image was created by assembling the source code and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) then converting the resulting binary output image into an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) ASCII text file. The hexadecimal numbers are listed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) using the Motorola Assembly Syntax assembler directive "dc.l"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) (define constant longword). The file can be converted to other
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) assembly syntaxes by using any word processor with a global
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) search and replace function.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) To assist in assembling and linking this module with other modules,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) the installer should add a symbolic label to the top of the file.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) This will allow calling routines to access the entry points
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) of this package.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) The source code fpsp.s has also been included but only for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) documentation purposes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) Release file structure:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) -----------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) (top of module)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) -----------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) | | - 128 byte-sized section
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) (1) | Call-Out | - 4 bytes per entry (user fills these in)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) | | - example routines in fskeleton.s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) -----------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) | | - 8 bytes per entry
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) (2) | Entry Point | - user does "bra" or "jmp" to this address
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) | |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) -----------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) | | - code section
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) (3) ~ ~
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) | |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) -----------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) (bottom of module)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) The first section of this module is the "Call-out" section. This section
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) is NOT INCLUDED in fpsp.sa (an example "Call-out" section is provided at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) the end of the file fskeleton.s). The purpose of this section is to allow
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) the FPSP routines to reference external functions that must be provided
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) by the host operating system. This section MUST be exactly 128 bytes in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) size. There are 32 fields, each 4 bytes in size. Each field corresponds
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) to a function required by the FPSP (these functions and their location are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) listed in "68060FPSP call-outs" below). Each field entry should contain
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) the address of the corresponding function RELATIVE to the starting address
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) of the "call-out" section. The "Call-out" section must sit adjacent to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) fpsp.sa image in memory.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) The second section, the "Entry-point" section, is used by external routines
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) to access the functions within the FPSP. Since the fpsp.sa hex file contains
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) no symbol names, this section contains function entry points that are fixed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) with respect to the top of the package. The currently defined entry-points
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) are listed in section "68060 FPSP entry points" below. A calling routine
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) would simply execute a "bra" or "jmp" that jumped to the selected function
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) entry-point.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) For example, if the 68060 hardware took a "Line-F Emulator" exception
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) (vector #11), the operating system should execute something similar to:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) bra _060FPSP_TOP+128+48
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) (_060FPSP_TOP is the starting address of the "Call-out" section; the "Call-out"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) section is 128 bytes long; and the F-Line FPSP handler entry point is located
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) 48 bytes from the top of the "Entry-point" section.)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) The third section is the code section. After entering through an "Entry-point",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) the entry code jumps to the appropriate emulation code within the code section.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 68060FPSP call-outs: (details in fskeleton.s)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) --------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) 0x000: _060_real_bsun
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) 0x004: _060_real_snan
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) 0x008: _060_real_operr
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) 0x00c: _060_real_ovfl
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) 0x010: _060_real_unfl
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 0x014: _060_real_dz
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) 0x018: _060_real_inex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) 0x01c: _060_real_fline
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) 0x020: _060_real_fpu_disabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) 0x024: _060_real_trap
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) 0x028: _060_real_trace
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) 0x02c: _060_real_access
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) 0x030: _060_fpsp_done
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) 0x034: (Motorola reserved)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) 0x038: (Motorola reserved)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) 0x03c: (Motorola reserved)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) 0x040: _060_imem_read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) 0x044: _060_dmem_read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) 0x048: _060_dmem_write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) 0x04c: _060_imem_read_word
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) 0x050: _060_imem_read_long
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) 0x054: _060_dmem_read_byte
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) 0x058: _060_dmem_read_word
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) 0x05c: _060_dmem_read_long
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) 0x060: _060_dmem_write_byte
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) 0x064: _060_dmem_write_word
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) 0x068: _060_dmem_write_long
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) 0x06c: (Motorola reserved)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) 0x070: (Motorola reserved)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) 0x074: (Motorola reserved)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) 0x078: (Motorola reserved)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) 0x07c: (Motorola reserved)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) 68060FPSP entry points:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) -----------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) 0x000: _060_fpsp_snan
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) 0x008: _060_fpsp_operr
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) 0x010: _060_fpsp_ovfl
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) 0x018: _060_fpsp_unfl
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) 0x020: _060_fpsp_dz
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) 0x028: _060_fpsp_inex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) 0x030: _060_fpsp_fline
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) 0x038: _060_fpsp_unsupp
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) 0x040: _060_fpsp_effadd
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) Miscellaneous:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) --------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) _060_fpsp_snan:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) ----------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) - documented in 3.5 of 060SP spec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) - Basic flow:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) exception taken ---> enter _060_fpsp_snan --|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) always exits through _060_real_snan <----
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) _060_fpsp_operr:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) ----------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) - documented in 3.5 of 060SP spec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) - Basic flow:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) exception taken ---> enter _060_fpsp_operr --|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) always exits through _060_real_operr <-----
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) _060_fpsp_dz:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) ----------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) - documented in 3.7 of 060SP spec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) - Basic flow:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) exception taken ---> enter _060_fpsp_dz --|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) always exits through _060_real_dz <----
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) _060_fpsp_inex:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) ----------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) - documented in 3.6 of 060SP spec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) - Basic flow:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) exception taken ---> enter _060_fpsp_inex --|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) always exits through _060_real_inex <----
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) _060_fpsp_ovfl:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) ----------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) - documented in 3.4 of 060SP spec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) - Basic flow:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) exception taken ---> enter _060_fpsp_ovfl --|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) may exit through _060_real_inex <---|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) or |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) may exit through _060_real_ovfl <---|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) or |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) may exit through _060_fpsp_done <---|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) _060_fpsp_unfl:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) ----------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) - documented in 3.4 of 060SP spec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) - Basic flow:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) exception taken ---> enter _060_fpsp_unfl --|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) may exit through _060_real_inex <---|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) or |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) may exit through _060_real_unfl <---|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) or |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) may exit through _060_fpsp_done <---|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) _060_fpsp_fline:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) -----------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) - not fully documented in 060SP spec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) - Basic flow:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) exception taken ---> enter _060_fpsp_fline --|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) -------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) | | |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) v v v
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) (unimplemented (fpu disabled) (possible F-line illegal)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) stack frame) | v
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) | v special case "fmovecr"?
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) | exit through |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) | _060_real_fpu_disabled -------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) | | |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) | ^ v v
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) | | (yes) (no)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) | | v v
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) | | fpu disabled? exit through
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) | | | _060_real_fline
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) v | -------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) | | | |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) | | v v
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) | |-----------(yes) (no)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) | |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) |----<------------------------------------|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253) |----> may exit through _060_real_trace
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) |----> may exit through _060_real_trap
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) |----> may exit through _060_real_bsun
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) |----> may exit through _060_fpsp_done
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262) _060_fpsp_unsupp:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) ------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264) - documented in 3.1 of 060SP spec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) - Basic flow:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266) exception taken ---> enter _060_fpsp_unsupp --|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) may exit through _060_real_snan <----|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270) or |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) may exit through _060_real_operr <----|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272) or |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273) may exit through _060_real_ovfl <----|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274) or |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275) may exit through _060_real_unfl <----|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276) or |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277) may exit through _060_real_inex <----|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278) or |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279) may exit through _060_real_trace <----|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) or |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281) may exit through _060_fpsp_done <----|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) _060_fpsp_effadd:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285) ------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286) - documented in 3.3 of 060 spec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) - Basic flow:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) exception taken ---> enter _060_fpsp_effadd --|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291) may exit through _060_real_trace <----|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292) or |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293) may exit through _060_real_fpu_disabled <----|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) or |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295) may exit through _060_fpsp_done <----|