ppc: Move load and store helpers, switch to AREG0 free mode
commit2f5a189caefe2ecbd32faf528a0fbf8c915dfa08
authorBlue Swirl <blauwirbel@gmail.com>
Wed, 30 May 2012 04:23:40 +0000 (30 04:23 +0000)
committerAlexander Graf <agraf@suse.de>
Sat, 23 Jun 2012 23:04:43 +0000 (24 01:04 +0200)
tree87960abefc1a5653b12dc178a12ab49191e45480
parent8555f71dcbbe562429bbb25e0028f71e5741b752
ppc: Move load and store helpers, switch to AREG0 free mode

Add an explicit CPUPPCState parameter instead of relying on AREG0
and rename op_helper.c (which only contains load and store helpers)
to mem_helper.c. Remove AREG0 swapping in
tlb_fill().

Switch to AREG0 free mode. Use cpu_ld{l,uw}_code in translation
and interrupt handling, cpu_{ld,st}{l,uw}_data in loads and stores.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
configure
cpu-all.h
target-ppc/Makefile.objs
target-ppc/excp_helper.c
target-ppc/helper.h
target-ppc/mem_helper.c [moved from target-ppc/op_helper.c with 68% similarity]
target-ppc/translate.c