target/ppc: Rework store conditional to avoid branch
authorNicholas Piggin <npiggin@gmail.com>
Mon, 5 Jun 2023 02:54:45 +0000 (12:54 +1000)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Sat, 10 Jun 2023 13:19:24 +0000 (10:19 -0300)
commit21ee07e7737a2dbba226a8d8192246e51855910d
treeb9a653721916518593424368a99e644b8bca6627
parent2c901dca1863515bd71c3f351610f0698cb8f0b4
target/ppc: Rework store conditional to avoid branch

Rework store conditional to avoid a branch in the success case.
Change some of the variable names and layout while here so
gen_conditional_store more closely matches gen_stqcx_.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20230605025445.161932-4-npiggin@gmail.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
target/ppc/translate.c