- Remove error case shortcut, allows results to be computed correctly

- Fixes two oleaut32 vartest winetests

svn path=/trunk/; revision=40392
This commit is contained in:
Gregor Schneider 2009-04-06 11:39:53 +00:00
parent f0179f8ce1
commit 6440f4e949

View file

@ -76,8 +76,7 @@ _pow:
and ah, 0b10111010 // Turn off CF, PF and ZF
or ah,al // Set new CF, PF and ZF
sahf // Store AH into Flags
ja __fpow2 // Re-direct if y > 0
jmp __fpow4 // End of case
jmp __fpow2 // Re-direct
__fpow1: fxch // Put y on top of stack
fld st // Duplicate y as st(1)
frndint // Round to integer