History | View | Annotate | Download (1.9 kB)
target-arm: Remove ARMCPU/CPUARMState from cpregs APIs used by decoder
The cpregs APIs used by the decoder (get_arm_cp_reginfo() andcp_access_ok()) currently take either a CPUARMState* or an ARMCPU*.This is problematic for the A64 decoder, which doesn't pass the...
target-arm: A64: add support for conditional branches
This patch adds emulation for the conditional branch (b.cond) instruction.
Signed-off-by: Alexander Graf <agraf@suse.de>[claudio: adapted to new decoder structure, reused arm infrastructure for checking the flags]...
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 generatedif a source register is the zero-register XZR, we provide a simple...
target-arm: Split A64 from A32/T32 gen_intermediate_code_internal()
The A32/T32 gen_intermediate_code_internal() is complicated because ithas to deal with: * conditionally executed instructions * Thumb IT blocks * kernel helper page * M profile exception-exit special casing...
target-arm: Export cpu_env
The cpu_env tcg variable will be used by both the AArch32 and AArch64handling code. Unstaticify it, so that both sides can make use of it.
Signed-off-by: Alexander Graf <agraf@suse.de>Signed-off-by: John Rigby <john.rigby@linaro.org>...
target-arm: Prepare translation for AArch64 code
This patch adds all the prerequisites for AArch64 support that didn'tfit into split up patches. It extends important bits in the core cpuheaders to also take AArch64 mode into account.
Add new ARM_TBFLAG_AARCH64_STATE translation buffer flag...
target-arm: Add AArch64 translation stub
We should translate AArch64 mode separately from AArch32 mode. In AArch64 mode,registers look vastly different, instruction encoding is completely different,basically the system turns into a different machine.
So let's do a simple if() in translate.c to decide whether we can handle the...
target-arm: Extract the disas struct to a header file
We will need to share the disassembly status struct between AArch32 andAArch64 modes. So put it into a header file that both sides can use.