target-arm: A64: Implement DC ZVA
commitaca3f40b374428e9c01068cf96294483cbb760a0
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Apr 2014 18:18:41 +0000 (15 19:18 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 17 Apr 2014 20:34:04 +0000 (17 21:34 +0100)
treeea0528c089b29a84a44cac1cd539d80917e51308
parent9225d739e7f6ec8d2139f79c3d2e3282cc725364
target-arm: A64: Implement DC ZVA

Implement the DC ZVA instruction, which clears a block of memory.
The fast path obtains a pointer to the underlying RAM via the TCG TLB
data structure so we can do a direct memset(), with fallback to a
simple byte-store loop in the slow path.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Acked-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
include/exec/softmmu_exec.h
target-arm/cpu-qom.h
target-arm/cpu.h
target-arm/cpu64.c
target-arm/helper.c
target-arm/helper.h
target-arm/translate-a64.c