Add an explicit CPUARMState parameter instead of relying on AREG0
and move saturating arithmetic to helper.c.
Remove unused SIGNBIT64.
Signed-off-by: Blue Swirl
---
target-arm/helper.c| 132 +++
target-arm/helper.h| 20
target-arm/
On 19 March 2012 21:56, Blue Swirl wrote:
> +#define SIGNBIT (uint32_t)0x8000
> +#define SIGNBIT64 ((uint64_t)1 << 63)
SIGNBIT64 isn't used, I think.
-- PMM
Add an explicit CPUARMState parameter instead of relying on AREG0
and move saturating arithmetic to helper.c.
Signed-off-by: Blue Swirl
---
target-arm/helper.c| 133 +++
target-arm/helper.h| 20
target-arm/op_helper.c | 134 ---