diff options
author | Stefan Weil <sw@weilnetz.de> | 2013-09-12 21:13:13 +0200 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2013-12-02 21:31:11 -0600 |
commit | a2c9dc504a28d07284d87a4ef10ad66f6f864b42 (patch) | |
tree | 686c127e5fd2d66d9a48cc0da3a5b5aa0922c7da /target-arm | |
parent | 927fab3e061eba4feaaaa0c7409b431f4340197d (diff) |
misc: Use new rotate functions
Signed-off-by: Stefan Weil <sw@weilnetz.de>
(cherry picked from commit 3df2b8fde949be86d8a78923c992fdd698d4ea4c)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'target-arm')
-rw-r--r-- | target-arm/iwmmxt_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/iwmmxt_helper.c b/target-arm/iwmmxt_helper.c index 7953b53f7e..e6cfa62da8 100644 --- a/target-arm/iwmmxt_helper.c +++ b/target-arm/iwmmxt_helper.c @@ -577,7 +577,7 @@ uint64_t HELPER(iwmmxt_rorl)(CPUARMState *env, uint64_t x, uint32_t n) uint64_t HELPER(iwmmxt_rorq)(CPUARMState *env, uint64_t x, uint32_t n) { - x = (x >> n) | (x << (64 - n)); + x = ror64(x, n); env->iwmmxt.cregs[ARM_IWMMXT_wCASF] = NZBIT64(x); return x; } |