]> git.proxmox.com Git - mirror_qemu.git/commit - target/ppc/translate.c
target-ppc: Add ISA2.06 lbarx, lharx Instructions
authorTom Musta <tommusta@gmail.com>
Tue, 7 Jan 2014 16:05:56 +0000 (10:05 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 5 Mar 2014 02:06:40 +0000 (03:06 +0100)
commit5c77a786e21e9dc12efc0f0590221e67dd5143da
tree4bbb2bc96304ed9ea240656362c982429d09f974
parent1fa6c533047b4447cef693a1f54babc6a69fe19d
target-ppc: Add ISA2.06 lbarx, lharx Instructions

This patch adds the byte and halfword variants of the Load and
Reserve instructions.   Since there is much commonality among
all forms of Load and Reserve, a macro is provided and the existing
implementations of lwarx and ldarx are refactoried to use this
macro.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate.c