Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request : FPU for 68K #34

Open
Landemarre opened this issue Dec 10, 2023 · 4 comments
Open

Request : FPU for 68K #34

Landemarre opened this issue Dec 10, 2023 · 4 comments

Comments

@Landemarre
Copy link

Hello

Do you plane support FPU for 68K processor?

Thanks for your work, impressive

Olivier

@hth313
Copy link
Owner

hth313 commented Dec 11, 2023

I have no immediate plans to implement floating point instruction support for 68000.
However, it is something that falls inside the scope of things I may consider doing in the mid term time frame.
Can you elaborate it bit on actual situation where you see this as needed and important?

@djipi
Copy link

djipi commented Dec 11, 2023

The native FPU support started with the 68040.

@Landemarre
Copy link
Author

Hello

This is good news to see possible good progress in that software.
I work on an other 68K system name V4SA an Amiga with extend CPU feature and hardware, I have work on Atari Emutos ROM port on it, and result is quite impressive for my point of view (my work is on sourceforges not github). This system come with a very good FPU. I have write several program that need FPU such a raytracing modeler long time ago, so quite a need for me, so probably could have far better results with better compiler even if already working.
Today there is some old C compiler that provide not too bad FPU output but ,not able compil more modern code and we have modern compiler such GCC and clang llvm, 68K output are generally not very good.
Don't really know about clang 68k status, but for GCC I can speak a bit, FPU output is quite good but CPU output is a mess, quality is so bad in some case, a simple code can easily twice slower than a version compiled with GCC 3, but GCC 3 has not good FPU support it is quite slow.
I have checked some example of output with Calipsy, it is not as good of GCC 3 but not far, and far far better than GCC 4 to 13!
So Calypsi is for my point of view the only modern C compiler with not too bad 68K CPU output, this is very interesting project.
The 68080 of V4SA has a lot of potential even without speaking of new instruction it could do far more than what it do today with some adjustment (more easy to said than to do!) link to multi instruction it is able to do in same time, so a challenge more for this computer.
Thanks for this interesting work.

@hth313
Copy link
Owner

hth313 commented Dec 12, 2023

Thank you for the perspective. I have considered the V4SA but ended up postponing it for now, focusing on variants before it. I may get back to the V4SA at some point. I do have an Amiga 3000 so I already have a machine with the 68882 FPU.

My current focus is on using the tools in some of my own projects and improving the Calypsi tools, as a result of that and user input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants