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