OSDN Git Service

target/ppc: Tidy gen_conditional_store
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 26 Jun 2018 16:19:14 +0000 (09:19 -0700)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 2 Jul 2018 23:56:52 +0000 (09:56 +1000)
commitd8b86898275827089c3ea10d1c83fcbab50abb3b
tree7670e61539d5c223cf3c709adb5b8fccfc704cdc
parent14db18997eb29b79f6c538c1a3cd27df259f77a6
target/ppc: Tidy gen_conditional_store

Leave only the minimal amount of code within the STCX macro,
moving the rest of the code into gen_conditional_store.
Remove the explicit call to gen_check_align; the matching LDAX will
have already checked alignment, and we verify the same address.

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