|
|
1.1 root 1: //
2: // nono
1.1.1.2 root 3: // Copyright (C) 2020 nono project
4: // Licensed under nono-license.txt
1.1 root 5: //
6:
7: #pragma once
8:
9: #define SIZE_L (0)
10: #define SIZE_S (1)
11: #define SIZE_X (2)
12: #define SIZE_P (3)
13: #define SIZE_W (4)
14: #define SIZE_D (5)
15: #define SIZE_B (6)
16:
1.1.1.3 root 17: void fpu_init();
18: void fpu_reset();
19: uint32 cea_fpu(int bytes);
1.1.1.4 ! root 20: void read_8(uint32 addr, uint32 *data);
! 21: void read_12(uint32 addr, uint32 *data);
! 22: void write_8(uint32 addr, const uint32 *data);
! 23: void write_12(uint32 addr, const uint32 *data);
1.1.1.3 root 24: bool readSRC(int size_id, struct fpn *);
1.1 root 25:
1.1.1.3 root 26: void fpu_op_illg();
27: void fpu_op_illg2();
1.1 root 28:
1.1.1.3 root 29: void fpu_op_fgen_reg();
30: void fpu_op_fgen_mem();
31: void fgen();
32: void fpu_op_fmovecr();
33: void fpu_op_fmove_b_mem();
34: void fpu_op_fmove_w_mem();
35: void fpu_op_fmove_l_mem();
36: void fpu_op_fmove_s_mem();
37: void fpu_op_fmove_d_mem();
38: void fpu_op_fmove_x_mem();
39: void fpu_op_fmove_p_mem();
40: void fpu_op_fmove_ea2ctl();
41: void fpu_op_fmovem_ea2ctl();
42: void fpu_op_fmove_ctl2ea();
43: void fpu_op_fmovem_ctl2ea();
44: void fpu_op_fmovem_ea2reg();
45: void fpu_op_fmovem_reg2ea();
46: void fpu_op_fscc();
47: void fpu_op_fdbcc();
48: void fpu_op_ftrapcc_w();
49: void fpu_op_ftrapcc_l();
50: void fpu_op_ftrapcc();
51: void fpu_op_fbcc_w();
52: void fpu_op_fbcc_l();
53: void fpu_op_fsave();
54: void fpu_op_frestore();
1.1 root 55:
1.1.1.3 root 56: static struct fpframe initial_fpframe;
57: static const uint32 fsave_frame_null[1];
58: static const uint32 fsave_frame_idle[7];
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.