]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Avoid an extra temporary for store_exclusive
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 14 Sep 2017 17:43:18 +0000 (18:43 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 14 Sep 2017 17:43:18 +0000 (18:43 +0100)
commit37e29a64254bf82a1901784fcca17c25f8164c2f
treead9ca0ec90620e0a08a5887939e29ce28b22bbcf
parentdddbba9943ef6a81c8702e4a50cb0a8b1a4201fe
target/arm: Avoid an extra temporary for store_exclusive

Instead of copying addr to a local temp, reuse the value (which we
have just compared as equal) already saved in cpu_exclusive_addr.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Message-id: 20170908163859.29820-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-a64.c