OSDN Git Service

target-ppc: Use Additional Temporary in stqcx Case
authorTom Musta <tommusta@gmail.com>
Mon, 24 Feb 2014 14:16:16 +0000 (08:16 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 5 Mar 2014 02:07:01 +0000 (03:07 +0100)
commit3707cd62db79ba965a211b9e2bb808792ae7343a
treef8b5f267cb43f2ffb148c22fec3cbfd60718a318
parent7dff9abe639e5baa6faa78267cc10726504b8de5
target-ppc: Use Additional Temporary in stqcx Case

Per Alex Graf's suggestion, the recently added case to gen_conditional_store
for stqcx should use an additional temporary when accessing the second
doubleword.  This avoids the mutation of the EA argument to the function,
which is counter intuitive.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate.c