Statistics
| Branch: | Revision:

root / target-arm @ db0f7958

Name Size
Makefile.objs 465 Bytes
arm-semi.c 17.2 kB
cpu-qom.h 5.9 kB
cpu.c 32.5 kB
cpu.h 35 kB
cpu64.c 3.5 kB
crypto_helper.c 13 kB
gdbstub.c 2.8 kB
gdbstub64.c 1.9 kB
helper-a64.c 907 Bytes
helper-a64.h 773 Bytes
helper.c 133.3 kB
helper.h 17.4 kB
iwmmxt_helper.c 24.8 kB
kvm-consts.h 1.9 kB
kvm-stub.c 437 Bytes
kvm.c 9.4 kB
kvm32.c 15.7 kB
kvm64.c 5.2 kB
kvm_arm.h 3.8 kB
machine.c 7.9 kB
neon_helper.c 52.8 kB
op_addsub.h 1.8 kB
op_helper.c 8.9 kB
translate-a64.c 26.5 kB
translate.c 365.8 kB
translate.h 1.9 kB

Latest revisions

# Date Author Comment
b001c8c3 12/17/2013 09:42 pm Alexander Graf

target-arm: A64: add support for BR, BLR and RET insns

Implement BR, BLR and RET. This is all of the 'unconditional
branch (register)' instruction category except for ERET
and DPRS (which are system mode only).

Signed-off-by: Alexander Graf <>...

39fb730a 12/17/2013 09:42 pm Alexander Graf

target-arm: A64: add support for conditional branches

This patch adds emulation for the conditional branch (b.cond) instruction.

Signed-off-by: Alexander Graf <>
[claudio: adapted to new decoder structure,
reused arm infrastructure for checking the flags]...

db0f7958 12/17/2013 09:42 pm Alexander Graf

target-arm: A64: add support for 'test and branch' imm

This patch adds emulation for the test and branch insns,
TBZ and TBNZ.

Signed-off-by: Alexander Graf <>
[claudio:
adapted for new decoder
always compare with 0
remove a TCG temporary...

6a669427 12/17/2013 09:42 pm Peter Maydell

target-arm: Support fp registers in gdb stub

Register the aarch64-fpu XML and implement the necessary
read/write handlers so we can support reading and writing
of FP registers in the gdb stub.

Signed-off-by: Peter Maydell <>
Reviewed-by: Richard Henderson <>

d3e35a1f 12/17/2013 09:42 pm Alexander Graf

target-arm: A64: add stubs for a64 specific helpers

We will need helpers that only make sense with AArch64. Add
helper-a64.{c,h} files as stubs that we can fill with these
helpers in the following patches.

Signed-off-by: Alexander Graf <>
Signed-off-by: Peter Maydell <>...

ad7ee8a2 12/17/2013 09:42 pm Claudio Fontana

target-arm: A64: provide skeleton for a64 insn decoding

Provide a skeleton for a64 instruction decoding in translate-a64.c,
by dividing instructions into the classes defined by the
ARM Architecture Reference Manual(DDI0487A_a) section C3.

Signed-off-by: Claudio Fontana <>...

87462e0f 12/17/2013 09:42 pm Claudio Fontana

target-arm: A64: expand decoding skeleton for system instructions

Decode the various kinds of system instructions:
hints (HINT), which include NOP, YIELD, WFE, WFI, SEV, SEL
sync instructions, which include CLREX, DSB, DMB, ISB
msr_i, which move immediate to processor state field...

11e169de 12/17/2013 09:42 pm Alexander Graf

target-arm: A64: add support for B and BL insns

Implement the B and BL instructions (PC relative branches and calls).

For convenience in managing TCG temporaries which might be generated
if a source register is the zero-register XZR, we provide a simple...

5ce4f357 12/17/2013 09:42 pm Alexander Graf

target-arm: A64: add set_pc cpu method

When executing translation blocks we need to be able to recover
our program counter. Add a method to set it for AArch64 CPUs.
This covers user-mode, but for system mode emulation we will
need to check if the CPU is in an AArch32 execution state....

f903fa22 12/17/2013 09:42 pm Peter Maydell

target-arm: A64: provide functions for accessing FPCR and FPSR

The information which AArch32 holds in the FPSCR is split for
AArch64 into two logically distinct registers, FPSR and FPCR.
Since they are carefully arranged to use non-overlapping bits,
we leave the underlying state in the same place, and provide...

View revisions

Also available in: Atom