|
1 | 1 |
|
2 | 2 | #define PTRSZ __SIZEOF_POINTER__
|
3 | 3 |
|
4 |
| -#define LO_unused0 64 |
5 |
| -#define LO_unused1 (LO_unused0 + 4) |
6 |
| -#define LO_unused2 (LO_unused1 + 4) |
7 |
| -#define LO_unused3 (LO_unused2 + 4) |
8 |
| -#define LO_cycle_count (LO_unused3 + 4) |
| 4 | +#define LO_cycle_count 64 |
9 | 5 | #define LO_last_count (LO_cycle_count + 4)
|
10 | 6 | #define LO_address (LO_last_count + 4)
|
11 | 7 | #define LO_hack_addr (LO_address + 4)
|
|
22 | 18 | #define LO_interrupt (LO_cycle + 4)
|
23 | 19 | #define LO_intCycle (LO_interrupt + 4)
|
24 | 20 | #define LO_next_interupt (LO_intCycle + 4*2*31)
|
25 |
| -#define LO_unused4 (LO_next_interupt + 4) |
26 |
| -#define LO_gteBusyCycle (LO_unused4 + 4) |
| 21 | +#define LO_unused (LO_next_interupt + 4) |
| 22 | +#define LO_gteBusyCycle (LO_unused + 4) |
27 | 23 | #define LO_muldivBusyCycle (LO_gteBusyCycle + 4)
|
28 | 24 | #define LO_psxRegs_subCycle (LO_muldivBusyCycle + 4)
|
29 | 25 | #define LO_psxRegs_biuReg (LO_psxRegs_subCycle + 4*2)
|
30 | 26 | #define LO_stop (LO_psxRegs_biuReg + 4)
|
31 |
| -#define LO_psxRegs_end (LO_stop + 4*7) |
| 27 | +#define LO_psxRegs_end (LO_stop + 4*9) |
32 | 28 | #define LO_rcnts (LO_psxRegs_end)
|
33 | 29 | #define LO_rcnts_end (LO_rcnts + 7*4*4)
|
34 | 30 | #define LO_inv_code_start (LO_rcnts_end)
|
|
38 | 34 | #define LO_psxH_ptr (LO_mem_wtab + PTRSZ)
|
39 | 35 | #define LO_zeromem_ptr (LO_psxH_ptr + PTRSZ)
|
40 | 36 | #define LO_invc_ptr (LO_zeromem_ptr + PTRSZ)
|
41 |
| -#define LO_hash_table_ptr (LO_invc_ptr + PTRSZ) |
42 |
| -#define LO_saved_lr (LO_hash_table_ptr + PTRSZ) |
| 37 | +#define LO_scratch_buf_ptr (LO_invc_ptr + PTRSZ) // for gte_neon.S |
| 38 | +#define LO_saved_lr (LO_scratch_buf_ptr + PTRSZ) |
43 | 39 | #define LO_ram_offset (LO_saved_lr + PTRSZ)
|
44 |
| -#define LO_mini_ht (LO_ram_offset + PTRSZ) |
| 40 | +#define LO_hash_table_ptr (LO_ram_offset + PTRSZ) |
| 41 | +#define LO_unused2 (LO_hash_table_ptr + PTRSZ) |
| 42 | +#define LO_mini_ht (LO_unused2 + PTRSZ) |
45 | 43 | #define LO_dynarec_local_size (LO_mini_ht + PTRSZ*32*2)
|
46 | 44 |
|
47 | 45 | #define LO_cop2_to_scratch_buf (LO_scratch_buf_ptr - LO_reg_cop2d)
|
0 commit comments