summaryrefslogtreecommitdiff
path: root/target-arm/op_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-arm/op_helper.c')
-rw-r--r--target-arm/op_helper.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c
index 5b5581f2c8..2d7be9c04f 100644
--- a/target-arm/op_helper.c
+++ b/target-arm/op_helper.c
@@ -185,7 +185,6 @@ static inline uint32_t do_ssat(int32_t val, int shift)
int32_t top;
uint32_t mask;
- shift = PARAM1;
top = val >> shift;
mask = (1u << shift) - 1;
if (top > 0) {
@@ -203,7 +202,6 @@ static inline uint32_t do_usat(int32_t val, int shift)
{
uint32_t max;
- shift = PARAM1;
max = (1u << shift) - 1;
if (val < 0) {
env->QF = 1;