Implement FPU for minimig

xboxown
Posts: 23
Joined: Thu Feb 15, 2024 5:46 am
Been thanked: 7 times

Implement FPU for minimig

Unread post by xboxown »

Hello,

I have just one question to ask. How difficult would it be to implement FPU into miniming core? How come such feature were not implemented already?

Solskogen
Posts: 91
Joined: Mon May 25, 2020 5:33 am
Has thanked: 11 times
Been thanked: 6 times

Re: Implement FPU for minimig

Unread post by Solskogen »

Hard, but not impossible.
Because nobody has made it yet. Are you up for the task?

FPGA64
Top Contributor
Posts: 937
Joined: Mon Mar 01, 2021 3:10 pm
Has thanked: 49 times
Been thanked: 374 times

Re: Implement FPU for minimig

Unread post by FPGA64 »

Its probably better to spend time getting the core cycle accurate. Its Aga timings arre not great.

kolla
Posts: 191
Joined: Sat Jun 13, 2020 7:56 am
Has thanked: 17 times
Been thanked: 33 times

Re: Implement FPU for minimig

Unread post by kolla »

xboxown wrote: Tue Jun 18, 2024 1:40 am

Hello,

I have just one question to ask. How difficult would it be to implement FPU into miniming core? How come such feature were not implemented already?

Implementing a sort of FPU wouldn’t be so hard, but implementing an feature complete 040 FPU or better yet a full featured 68882 is another story. The main problem (once functions are implemented) is precision. For some software, like probably most games (quake) lower precision is good enough, but for other software that expenct and depend on full 80 bit precision, you end up with rounding errors which in worst case can cause crashes. Only rather recently the apollo core 68080 on V2 cards got good enough precision to that 5 * 1.3 is 6.5 and not 6.4999999… for example.

Post Reply