diff options
Diffstat (limited to 'target-ppc/op_helper.c')
-rw-r--r-- | target-ppc/op_helper.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c index 99aa0a01b9..ef1035fc56 100644 --- a/target-ppc/op_helper.c +++ b/target-ppc/op_helper.c @@ -1510,18 +1510,6 @@ void do_op_602_mfrom (void) /*****************************************************************************/ /* Embedded PowerPC specific helpers */ -void do_405_check_sat (void) -{ - if (!likely((((uint32_t)T1 ^ (uint32_t)T2) >> 31) || - !(((uint32_t)T0 ^ (uint32_t)T2) >> 31))) { - /* Saturate result */ - if (T2 >> 31) { - T0 = INT32_MIN; - } else { - T0 = INT32_MAX; - } - } -} /* XXX: to be improved to check access rights when in user-mode */ void do_load_dcr (void) |