diff options
author | Stefan Weil <sw@weilnetz.de> | 2013-09-12 21:13:13 +0200 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2013-09-25 21:23:05 +0200 |
commit | 3df2b8fde949be86d8a78923c992fdd698d4ea4c (patch) | |
tree | 09c4db80712626acaed595506233559a2d4ebd2d /target-arm/iwmmxt_helper.c | |
parent | 6aa25b4a7bb10c48c3054f268d5be98e42ea42c0 (diff) | |
download | hqemu-3df2b8fde949be86d8a78923c992fdd698d4ea4c.zip hqemu-3df2b8fde949be86d8a78923c992fdd698d4ea4c.tar.gz |
misc: Use new rotate functions
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'target-arm/iwmmxt_helper.c')
-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 7953b53..e6cfa62 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; } |