]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/translate.c
target-arm: Add support for generating exceptions with syndrome information
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Apr 2014 18:18:38 +0000 (19:18 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 17 Apr 2014 20:34:03 +0000 (21:34 +0100)
commitd4a2dc675bde36443c3a73051ca863d878d8bc31
tree2b46df0c72d662b29bd63e393dbeab125f716533
parent8bcbf37caa87ba89bc391bad70039f942a98c7e3
target-arm: Add support for generating exceptions with syndrome information

Add new helpers exception_with_syndrome (for generating an exception
with syndrome information) and exception_uncategorized (for generating
an exception with "Unknown or Uncategorized Reason", which have a syndrome
register value of zero), and use them to generate the correct syndrome
information for exceptions which are raised directly from generated code.

This patch includes moving the A32/T32 gen_exception_insn functions
further up in the source file; they will be needed for "VFP/Neon disabled"
exception generation later.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
target-arm/helper.h
target-arm/internals.h
target-arm/op_helper.c
target-arm/translate-a64.c
target-arm/translate.c
target-arm/translate.h