Fix alignment problem with some 64bit load/store instructions
commit828808f5ece20fd606218e000139799921c89d93
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 11 Nov 2008 03:04:57 +0000 (11 03:04 +0000)
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 11 Nov 2008 03:04:57 +0000 (11 03:04 +0000)
tree497828524982c1badae33438915cee4adcca59ef
parentbecfc3904194e76436ad0a60c2dde148e1927e4c
Fix alignment problem with some 64bit load/store instructions

LD/STD/LWA require displacement to be multiple of 4, provide
tcg_out_ldsta which checks the supplied displacement and falls
back on indexed variant when the check fails. All uses of
LD/STD/LWA outside of tcg_out_ldst appear to be safe.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5670 c046a42c-6fe2-441c-8c8c-71466251a162
tcg/ppc64/tcg-target.c