Revision a1c7273b target-m68k/helper.c
b/target-m68k/helper.c | ||
---|---|---|
714 | 714 |
if (env->macsr & MACSR_V) { |
715 | 715 |
env->macsr |= MACSR_PAV0 << acc; |
716 | 716 |
if (env->macsr & MACSR_OMC) { |
717 |
/* The result is saturated to 32 bits, despite overflow occuring |
|
717 |
/* The result is saturated to 32 bits, despite overflow occurring
|
|
718 | 718 |
at 48 bits. Seems weird, but that's what the hardware docs |
719 | 719 |
say. */ |
720 | 720 |
result = (result >> 63) ^ 0x7fffffff; |
Also available in: Unified diff