diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-09-18 13:02:21 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-09-19 10:14:10 +0200 |
| commit | 9922de74bc01932f1bdc4139e6ecc1f17f50d2a7 (patch) | |
| tree | 49dce3d97157166bf707ad7a291db77d79a530a4 /miasm2/jitter/arch/JitCore_mips32.c | |
| parent | 1847269c7ee45a8c5e89b8cd2bc8eb731f55b81e (diff) | |
| download | miasm-9922de74bc01932f1bdc4139e6ecc1f17f50d2a7.tar.gz miasm-9922de74bc01932f1bdc4139e6ecc1f17f50d2a7.zip | |
Jit/Arch: init regs size for all arch
Diffstat (limited to 'miasm2/jitter/arch/JitCore_mips32.c')
| -rw-r--r-- | miasm2/jitter/arch/JitCore_mips32.c | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/miasm2/jitter/arch/JitCore_mips32.c b/miasm2/jitter/arch/JitCore_mips32.c index a1bf44f5..2a5dfd0f 100644 --- a/miasm2/jitter/arch/JitCore_mips32.c +++ b/miasm2/jitter/arch/JitCore_mips32.c @@ -12,42 +12,42 @@ -reg_dict gpreg_dict[] = { {.name = "ZERO", .offset = offsetof(vm_cpu_t, ZERO)}, - {.name = "AT", .offset = offsetof(vm_cpu_t, AT)}, - {.name = "V0", .offset = offsetof(vm_cpu_t, V0)}, - {.name = "V1", .offset = offsetof(vm_cpu_t, V1)}, - {.name = "A0", .offset = offsetof(vm_cpu_t, A0)}, - {.name = "A1", .offset = offsetof(vm_cpu_t, A1)}, - {.name = "A2", .offset = offsetof(vm_cpu_t, A2)}, - {.name = "A3", .offset = offsetof(vm_cpu_t, A3)}, - {.name = "T0", .offset = offsetof(vm_cpu_t, T0)}, - {.name = "T1", .offset = offsetof(vm_cpu_t, T1)}, - {.name = "T2", .offset = offsetof(vm_cpu_t, T2)}, - {.name = "T3", .offset = offsetof(vm_cpu_t, T3)}, - {.name = "T4", .offset = offsetof(vm_cpu_t, T4)}, - {.name = "T5", .offset = offsetof(vm_cpu_t, T5)}, - {.name = "T6", .offset = offsetof(vm_cpu_t, T6)}, - {.name = "T7", .offset = offsetof(vm_cpu_t, T7)}, - {.name = "S0", .offset = offsetof(vm_cpu_t, S0)}, - {.name = "S1", .offset = offsetof(vm_cpu_t, S1)}, - {.name = "S2", .offset = offsetof(vm_cpu_t, S2)}, - {.name = "S3", .offset = offsetof(vm_cpu_t, S3)}, - {.name = "S4", .offset = offsetof(vm_cpu_t, S4)}, - {.name = "S5", .offset = offsetof(vm_cpu_t, S5)}, - {.name = "S6", .offset = offsetof(vm_cpu_t, S6)}, - {.name = "S7", .offset = offsetof(vm_cpu_t, S7)}, - {.name = "T8", .offset = offsetof(vm_cpu_t, T8)}, - {.name = "T9", .offset = offsetof(vm_cpu_t, T9)}, - {.name = "K0", .offset = offsetof(vm_cpu_t, K0)}, - {.name = "K1", .offset = offsetof(vm_cpu_t, K1)}, - {.name = "GP", .offset = offsetof(vm_cpu_t, GP)}, - {.name = "SP", .offset = offsetof(vm_cpu_t, SP)}, - {.name = "FP", .offset = offsetof(vm_cpu_t, FP)}, - {.name = "RA", .offset = offsetof(vm_cpu_t, RA)}, - {.name = "PC", .offset = offsetof(vm_cpu_t, PC)}, - {.name = "PC_FETCH", .offset = offsetof(vm_cpu_t, PC_FETCH)}, - {.name = "R_LO", .offset = offsetof(vm_cpu_t, R_LO)}, - {.name = "R_HI", .offset = offsetof(vm_cpu_t, R_HI)}, +reg_dict gpreg_dict[] = { {.name = "ZERO", .offset = offsetof(vm_cpu_t, ZERO), .size = 32}, + {.name = "AT", .offset = offsetof(vm_cpu_t, AT), .size = 32}, + {.name = "V0", .offset = offsetof(vm_cpu_t, V0), .size = 32}, + {.name = "V1", .offset = offsetof(vm_cpu_t, V1), .size = 32}, + {.name = "A0", .offset = offsetof(vm_cpu_t, A0), .size = 32}, + {.name = "A1", .offset = offsetof(vm_cpu_t, A1), .size = 32}, + {.name = "A2", .offset = offsetof(vm_cpu_t, A2), .size = 32}, + {.name = "A3", .offset = offsetof(vm_cpu_t, A3), .size = 32}, + {.name = "T0", .offset = offsetof(vm_cpu_t, T0), .size = 32}, + {.name = "T1", .offset = offsetof(vm_cpu_t, T1), .size = 32}, + {.name = "T2", .offset = offsetof(vm_cpu_t, T2), .size = 32}, + {.name = "T3", .offset = offsetof(vm_cpu_t, T3), .size = 32}, + {.name = "T4", .offset = offsetof(vm_cpu_t, T4), .size = 32}, + {.name = "T5", .offset = offsetof(vm_cpu_t, T5), .size = 32}, + {.name = "T6", .offset = offsetof(vm_cpu_t, T6), .size = 32}, + {.name = "T7", .offset = offsetof(vm_cpu_t, T7), .size = 32}, + {.name = "S0", .offset = offsetof(vm_cpu_t, S0), .size = 32}, + {.name = "S1", .offset = offsetof(vm_cpu_t, S1), .size = 32}, + {.name = "S2", .offset = offsetof(vm_cpu_t, S2), .size = 32}, + {.name = "S3", .offset = offsetof(vm_cpu_t, S3), .size = 32}, + {.name = "S4", .offset = offsetof(vm_cpu_t, S4), .size = 32}, + {.name = "S5", .offset = offsetof(vm_cpu_t, S5), .size = 32}, + {.name = "S6", .offset = offsetof(vm_cpu_t, S6), .size = 32}, + {.name = "S7", .offset = offsetof(vm_cpu_t, S7), .size = 32}, + {.name = "T8", .offset = offsetof(vm_cpu_t, T8), .size = 32}, + {.name = "T9", .offset = offsetof(vm_cpu_t, T9), .size = 32}, + {.name = "K0", .offset = offsetof(vm_cpu_t, K0), .size = 32}, + {.name = "K1", .offset = offsetof(vm_cpu_t, K1), .size = 32}, + {.name = "GP", .offset = offsetof(vm_cpu_t, GP), .size = 32}, + {.name = "SP", .offset = offsetof(vm_cpu_t, SP), .size = 32}, + {.name = "FP", .offset = offsetof(vm_cpu_t, FP), .size = 32}, + {.name = "RA", .offset = offsetof(vm_cpu_t, RA), .size = 32}, + {.name = "PC", .offset = offsetof(vm_cpu_t, PC), .size = 32}, + {.name = "PC_FETCH", .offset = offsetof(vm_cpu_t, PC_FETCH), .size = 32}, + {.name = "R_LO", .offset = offsetof(vm_cpu_t, R_LO), .size = 32}, + {.name = "R_HI", .offset = offsetof(vm_cpu_t, R_HI), .size = 32}, }; /************************** JitCpu object **************************/ |