target/ppc: Split out gen_load_locked
commit2a4e6c1bffe11a982f6774fe01049debf07703fc
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 26 Jun 2018 16:19:15 +0000 (26 09:19 -0700)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 2 Jul 2018 23:56:52 +0000 (3 09:56 +1000)
tree6e853bf3557598f62aa9875bfd5ef48d0f9028ab
parentd8b86898275827089c3ea10d1c83fcbab50abb3b
target/ppc: Split out gen_load_locked

Leave only the minimal amount of code within the LDAR macro,
moving the rest of the code into gen_load_locked.  Use MO_ALIGN
and remove the explicit call to gen_check_align.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate.c