Quote:
Originally Posted by Toni Wilen
I never changed JIT round to zero..
|
No, I didn't want to blame you. It was me, I'm guilty!
Quote:
Code:
static uae_u32 pihalf[] = {0x2168c235, 0xc90fdaa2, 0x3fff};
Changed.
Temporarily attached here because winuae (eab) ftp refuses connection.
|
Thanks, the 80-bit non_Jit works correctly, even Pi/2 and Pi are exact. But the Jit is still wrong. That's somewhere at line ~1183 in compemu_fpp.cpp. Just disable the "#if USE_X86_FPUCW" code block for case 0x1c: /* FACOS */. And change pihalf in compemu_raw_x86.cpp, too.
My test should give 0 for all lines with ACOS(1) and Pi for all with ACOS(-1).