diff options
| author | Camille Mougey <commial@gmail.com> | 2018-09-19 22:18:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-19 22:18:00 +0200 |
| commit | 2f9139cbc737978d7308496bb8249a99431320e7 (patch) | |
| tree | cf7cce9019808d29e87a5395d467a4810ad59859 /miasm2/jitter/arch/JitCore_arm.c | |
| parent | 22532774f6e6f8807f98e7dd82abcbf83e7d5057 (diff) | |
| parent | 806dabd0f2947466c9634e31354512961b1d2f40 (diff) | |
| download | miasm-2f9139cbc737978d7308496bb8249a99431320e7.tar.gz miasm-2f9139cbc737978d7308496bb8249a99431320e7.zip | |
Merge pull request #853 from serpilliere/fix_xmm_accesses
Fix xmm accesses
Diffstat (limited to 'miasm2/jitter/arch/JitCore_arm.c')
| -rw-r--r-- | miasm2/jitter/arch/JitCore_arm.c | 59 |
1 files changed, 30 insertions, 29 deletions
diff --git a/miasm2/jitter/arch/JitCore_arm.c b/miasm2/jitter/arch/JitCore_arm.c index f253c45b..ac7d16bf 100644 --- a/miasm2/jitter/arch/JitCore_arm.c +++ b/miasm2/jitter/arch/JitCore_arm.c @@ -12,35 +12,36 @@ -reg_dict gpreg_dict[] = { {.name = "R0", .offset = offsetof(vm_cpu_t, R0)}, - {.name = "R1", .offset = offsetof(vm_cpu_t, R1)}, - {.name = "R2", .offset = offsetof(vm_cpu_t, R2)}, - {.name = "R3", .offset = offsetof(vm_cpu_t, R3)}, - {.name = "R4", .offset = offsetof(vm_cpu_t, R4)}, - {.name = "R5", .offset = offsetof(vm_cpu_t, R5)}, - {.name = "R6", .offset = offsetof(vm_cpu_t, R6)}, - {.name = "R7", .offset = offsetof(vm_cpu_t, R7)}, - {.name = "R8", .offset = offsetof(vm_cpu_t, R8)}, - {.name = "R9", .offset = offsetof(vm_cpu_t, R9)}, - {.name = "R10", .offset = offsetof(vm_cpu_t, R10)}, - {.name = "R11", .offset = offsetof(vm_cpu_t, R11)}, - {.name = "R12", .offset = offsetof(vm_cpu_t, R12)}, - {.name = "SP", .offset = offsetof(vm_cpu_t, SP)}, - {.name = "LR", .offset = offsetof(vm_cpu_t, LR)}, - {.name = "PC", .offset = offsetof(vm_cpu_t, PC)}, - - {.name = "zf", .offset = offsetof(vm_cpu_t, zf)}, - {.name = "nf", .offset = offsetof(vm_cpu_t, nf)}, - {.name = "of", .offset = offsetof(vm_cpu_t, of)}, - {.name = "cf", .offset = offsetof(vm_cpu_t, cf)}, - - {.name = "ge0", .offset = offsetof(vm_cpu_t, ge0)}, - {.name = "ge1", .offset = offsetof(vm_cpu_t, ge1)}, - {.name = "ge2", .offset = offsetof(vm_cpu_t, ge2)}, - {.name = "ge3", .offset = offsetof(vm_cpu_t, ge3)}, - - {.name = "exception_flags", .offset = offsetof(vm_cpu_t, exception_flags)}, - {.name = "interrupt_num", .offset = offsetof(vm_cpu_t, interrupt_num)}, +reg_dict gpreg_dict[] = { + {.name = "R0", .offset = offsetof(vm_cpu_t, R0), .size = 32}, + {.name = "R1", .offset = offsetof(vm_cpu_t, R1), .size = 32}, + {.name = "R2", .offset = offsetof(vm_cpu_t, R2), .size = 32}, + {.name = "R3", .offset = offsetof(vm_cpu_t, R3), .size = 32}, + {.name = "R4", .offset = offsetof(vm_cpu_t, R4), .size = 32}, + {.name = "R5", .offset = offsetof(vm_cpu_t, R5), .size = 32}, + {.name = "R6", .offset = offsetof(vm_cpu_t, R6), .size = 32}, + {.name = "R7", .offset = offsetof(vm_cpu_t, R7), .size = 32}, + {.name = "R8", .offset = offsetof(vm_cpu_t, R8), .size = 32}, + {.name = "R9", .offset = offsetof(vm_cpu_t, R9), .size = 32}, + {.name = "R10", .offset = offsetof(vm_cpu_t, R10), .size = 32}, + {.name = "R11", .offset = offsetof(vm_cpu_t, R11), .size = 32}, + {.name = "R12", .offset = offsetof(vm_cpu_t, R12), .size = 32}, + {.name = "SP", .offset = offsetof(vm_cpu_t, SP), .size = 32}, + {.name = "LR", .offset = offsetof(vm_cpu_t, LR), .size = 32}, + {.name = "PC", .offset = offsetof(vm_cpu_t, PC), .size = 32}, + + {.name = "zf", .offset = offsetof(vm_cpu_t, zf), .size = 8}, + {.name = "nf", .offset = offsetof(vm_cpu_t, nf), .size = 8}, + {.name = "of", .offset = offsetof(vm_cpu_t, of), .size = 8}, + {.name = "cf", .offset = offsetof(vm_cpu_t, cf), .size = 8}, + + {.name = "ge0", .offset = offsetof(vm_cpu_t, ge0), .size = 8}, + {.name = "ge1", .offset = offsetof(vm_cpu_t, ge1), .size = 8}, + {.name = "ge2", .offset = offsetof(vm_cpu_t, ge2), .size = 8}, + {.name = "ge3", .offset = offsetof(vm_cpu_t, ge3), .size = 8}, + + {.name = "exception_flags", .offset = offsetof(vm_cpu_t, exception_flags), .size = 32}, + {.name = "interrupt_num", .offset = offsetof(vm_cpu_t, interrupt_num), .size = 32}, }; /************************** JitCpu object **************************/ |