View Single Post
Old 02 July 2018, 21:44   #9
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,380
Quote:
Originally Posted by Toni Wilen View Post
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).
Attached Files
File Type: lha TestAcos.lha (1.1 KB, 189 views)
PeterK is online now  
 
Page generated in 0.04491 seconds with 12 queries