AArch64 TCG emulation support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest60 patches 54 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/60 | arm: Use symbolic device names for vfp cmptarget-arm/ | +26 | 0 replies | |
| 2/60 | arm: Give the fpscr rounding modes namestarget-arm/ target-arm/ | +9 | 0 replies | |
| 3/60 | arm: Split VFP cmp from FPSCR settingtarget-arm/ target-arm/ target-arm/ | +24 | 2 replies | |
| 4/60 | arm: Add AArch64 disassembler stubdisas.c disas/ disas/ +1 more | +38 | 1 reply | |
| 5/60 | softfloat: Add stubs for int16 conversionfpu/ include/ | +25 | 0 replies | |
| 6/60 | AArch64: Add set_pc cpu methodtarget-arm/ | +8 | 0 replies | |
| 7/60 | ARM: Add 64bit VFP handlingtarget-arm/ target-arm/ | +33 | 0 replies | |
| 8/60 | AArch64: Add support to print VFP registers in CPUtarget-arm/ | +15 | 0 replies | |
| 9/60 | AArch64: Add b and bl handlingtarget-arm/ | +61 | 2 replies | |
| 10/60 | AArch64: Add handling for br instructionstarget-arm/ | +29 | 1 reply | |
| 11/60 | AArch64: Add STP instruction emulationtarget-arm/ | +263 | 1 reply | |
| 12/60 | AArch64: Add ldarx style instruction emulationtarget-arm/ | +37 | 0 replies | |
| 13/60 | AArch64: Add stubs for a64 specific helperstarget-arm/ target-arm/ target-arm/ +1 more | +50 | 0 replies | |
| 14/60 | AArch64: Add orr instruction emulationtarget-arm/ target-arm/ target-arm/ | +149 | 14 replies | |
| 15/60 | AArch64: Add add instruction family emulationtarget-arm/ target-arm/ target-arm/ | +238 | 1 reply | |
| 16/60 | AArch64: Add emulation for SIMD ld/st multipletarget-arm/ | +91 | 0 replies | |
| 17/60 | AArch64: Add dup GPR->Vec instruction emulationtarget-arm/ | +55 | 1 reply | |
| 18/60 | AArch64: Add umov instruction emulationtarget-arm/ | +45 | 1 reply | |
| 19/60 | AArch64: Add ins GPR->Vec instruction emulationtarget-arm/ | +39 | 0 replies | |
| 20/60 | AArch64: Add SIMD ORR family instruction emulationtarget-arm/ | +66 | 1 reply | |
| 21/60 | AArch64: Convert SIMD load/store to common functiontarget-arm/ | +42 | 0 replies | |
| 22/60 | AArch64: Add AdvSIMD scalar three same group handlingtarget-arm/ | +53 | 1 reply | |
| 23/60 | AArch64: Add AdvSIMD modified immediate group handlingtarget-arm/ | +129 | 1 reply | |
| 24/60 | AArch64: Add SIMD ushll instruction emulationtarget-arm/ | +52 | 1 reply | |
| 25/60 | AArch64: Add SIMD shl instruction emulationtarget-arm/ | +50 | 0 replies | |
| 26/60 | AArch64: Add ADR instruction emulationtarget-arm/ | +24 | 5 replies | |
| 27/60 | AArch64: Add addi instruction emulationtarget-arm/ | +50 | 0 replies | |
| 28/60 | AArch64: Add movi instruction emulationtarget-arm/ | +45 | 1 reply | |
| 29/60 | AArch64: Add orri instruction emulationtarget-arm/ | +95 | 4 replies | |
| 30/60 | AArch64: Add extr instruction emulationtarget-arm/ | +35 | 1 reply | |
| 31/60 | AArch64: Add bfm family instruction emulationtarget-arm/ target-arm/ target-arm/ | +95 | 1 reply | |
| 32/60 | AArch64: Add svc instruction emulationtarget-arm/ target-arm/ target-arm/ | +18 | 0 replies | |
| 33/60 | AArch64: Add bc instruction emulationtarget-arm/ | +44 | 0 replies | |
| 34/60 | AArch64: Add b.cond instruction emulationtarget-arm/ target-arm/ target-arm/ | +70 | 0 replies | |
| 35/60 | AArch64: Add mrs instruction emulationtarget-arm/ | +33 | 0 replies | |
| 36/60 | AArch64: Add msr instruction emulationtarget-arm/ | +27 | 0 replies | |
| 37/60 | AArch64: Add hint instruction emulationtarget-arm/ | +2 | 0 replies | |
| 38/60 | AArch64: Add stub barrier instruction emulationtarget-arm/ | +2 | 0 replies | |
| 39/60 | AArch64: Add stub sys instruction emulationtarget-arm/ | +10 | 0 replies | |
| 40/60 | AArch64: Add tbz instruction emulationtarget-arm/ | +40 | 1 reply | |
| 41/60 | AArch64: Add ldr/str instruction family emulationtarget-arm/ | +124 | 0 replies | |
| 42/60 | AArch64: Add literal ld instruction emulationtarget-arm/ | +37 | 0 replies | |
| 43/60 | AArch64: Add cinc instruction emulationtarget-arm/ target-arm/ target-arm/ | +52 | 1 reply | |
| 44/60 | AArch64: Add division instruction family emulationtarget-arm/ target-arm/ target-arm/ | +61 | 1 reply | |
| 45/60 | AArch64: Add shift instruction family emulationtarget-arm/ | +20 | 0 replies | |
| 46/60 | AArch64: Add rev instruction family emulationtarget-arm/ target-arm/ target-arm/ | +58 | 1 reply | |
| 47/60 | AArch64: Add clz instruction emulationtarget-arm/ target-arm/ target-arm/ | +37 | 0 replies | |
| 48/60 | AArch64: Add 0x1a encoding of add instructionstarget-arm/ | +2 | 0 replies | |
| 49/60 | AArch64: Add "Data-processing (3 source)" instructiontarget-arm/ target-arm/ target-arm/ | +106 | 0 replies | |
| 50/60 | AArch64: Add "Floating-point<->fixed-pointtarget-arm/ target-arm/ target-arm/ | +196 | 4 replies | |
| 51/60 | AArch64: Add fmov (scalar, immediate) instructiontarget-arm/ | +36 | 0 replies | |
| 52/60 | AArch64: Add "Floating-point<->integer conversions"target-arm/ | +61 | 0 replies | |
| 53/60 | AArch64: Add "Floating-point compare" instructiontarget-arm/ | +66 | 0 replies | |
| 54/60 | AArch64: Add "Floating-point data-processing (1target-arm/ target-arm/ target-arm/ | +85 | 0 replies | |
| 55/60 | AArch64: Add "Floating-point data-processing (1target-arm/ target-arm/ target-arm/ | +75 | 0 replies | |
| 56/60 | AArch64: Add "Floating-point data-processing (2target-arm/ | +57 | 0 replies | |
| 57/60 | AArch64: Add "Floating-point data-processing (2target-arm/ | +52 | 0 replies | |
| 58/60 | AArch64: Add "ADD (vector)" instruction emulationtarget-arm/ | +35 | 0 replies | |
| 59/60 | AArch64: Add "Floating-point data-processing (3target-arm/ | +58 | 1 reply | |
| 60/60 | AArch64: Add "Floating-point data-processing (3target-arm/ | +46 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 00/60] AArch64 TCG emulation support
Howdy,
This is the first batch of patches to implement AArch64 instruction emulation in QEMU. It implements enough to execute simple AArch64 programs in linux-user mode.
We still have quite a big number of patches outstanding that will come after this initial set, both in linux-user code as well as in the AArch64 instruction emulator. But this series is already quite big, so let's get this one through first.
If you need a rootfs to try this out on, I recommend using our openSUSE 12.3 tarball:
http://download.opensuse.org/repositories/devel:/ARM:/AArch64:/12.3/images/
Alex
Alexander Graf (60):
arm: Use symbolic device names for vfp cmp
arm: Give the fpscr rounding modes names
arm: Split VFP cmp from FPSCR setting
arm: Add AArch64 disassembler stub
softfloat: Add stubs for int16 conversion
AArch64: Add set_pc cpu method
ARM: Add 64bit VFP handling
AArch64: Add support to print VFP registers in CPU dump
AArch64: Add b and bl handling
AArch64: Add handling for br instructions
AArch64: Add STP instruction emulation
AArch64: Add ldarx style instruction emulation
AArch64: Add stubs for a64 specific helpers
AArch64: Add orr instruction emulation
AArch64: Add add instruction family emulation
AArch64: Add emulation for SIMD ld/st multiple
AArch64: Add dup GPR->Vec instruction emulation
AArch64: Add umov instruction emulation
AArch64: Add ins GPR->Vec instruction emulation
AArch64: Add SIMD ORR family instruction emulation
AArch64: Convert SIMD load/store to common function
AArch64: Add AdvSIMD scalar three same group handling
AArch64: Add AdvSIMD modified immediate group handling
AArch64: Add SIMD ushll instruction emulation
AArch64: Add SIMD shl instruction emulation
AArch64: Add ADR instruction emulation
AArch64: Add addi instruction emulation
AArch64: Add movi instruction emulation
AArch64: Add orri instruction emulation
AArch64: Add extr instruction emulation
AArch64: Add bfm family instruction emulation
AArch64: Add svc instruction emulation
AArch64: Add bc instruction emulation
AArch64: Add b.cond instruction emulation
AArch64: Add mrs instruction emulation
AArch64: Add msr instruction emulation
AArch64: Add hint instruction emulation
AArch64: Add stub barrier instruction emulation
AArch64: Add stub sys instruction emulation
AArch64: Add tbz instruction emulation
AArch64: Add ldr/str instruction family emulation
AArch64: Add literal ld instruction emulation
AArch64: Add cinc instruction emulation
AArch64: Add division instruction family emulation
AArch64: Add shift instruction family emulation
AArch64: Add rev instruction family emulation
AArch64: Add clz instruction emulation
AArch64: Add 0x1a encoding of add instructions
AArch64: Add "Data-processing (3 source)" instruction family
emulation
AArch64: Add "Floating-point<->fixed-point conversions" category
emulation
AArch64: Add fmov (scalar, immediate) instruction emulation
AArch64: Add "Floating-point<->integer conversions" instruction
family emulation
AArch64: Add "Floating-point compare" instruction family emulation
AArch64: Add "Floating-point data-processing (1 source)" (32 bit)
instruction family emulation
AArch64: Add "Floating-point data-processing (1 source)" (64 bit)
instruction family emulation
AArch64: Add "Floating-point data-processing (2 source)" (32 bit)
instruction family emulation
AArch64: Add "Floating-point data-processing (2 source)" (64 bit)
instruction family emulation
AArch64: Add "ADD (vector)" instruction emulation
AArch64: Add "Floating-point data-processing (3 source)" (32 bit)
instruction family emulation
AArch64: Add "Floating-point data-processing (3 source)" (64 bit)
instruction family emulation
disas.c | 6 +- disas/Makefile.objs | 1 + disas/aarch64.c | 31 + fpu/softfloat.c | 21 + include/disas/bfd.h | 1 + include/fpu/softfloat.h | 4 + target-arm/Makefile.objs | 2 +- target-arm/cpu.h | 5 + target-arm/cpu64.c | 8 + target-arm/helper-a64.c | 309 +++++ target-arm/helper-a64.h | 35 + target-arm/helper.c | 108 +- target-arm/helper.h | 24 +- target-arm/translate-a64.c | 2915 +++++++++++++++++++++++++++++++++++++++++++- target-arm/translate.c | 13 +- target-arm/translate.h | 5 + 16 files changed, 3424 insertions(+), 64 deletions(-) create mode 100644 disas/aarch64.c create mode 100644 target-arm/helper-a64.c create mode 100644 target-arm/helper-a64.h
Signature · 1 line
1.7.12.4