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

Fixed Point support #27

Open
djipi opened this issue Jun 27, 2023 · 2 comments
Open

Fixed Point support #27

djipi opened this issue Jun 27, 2023 · 2 comments

Comments

@djipi
Copy link

djipi commented Jun 27, 2023

Few compilers support such type, the gcc supports it but for a couple of CPU which are not related to the Motorola family.

Do you have plan to support it in the future?

For the Calypsi compiler, such support could be limited to a signed Q16.16 format which is suitable for the 68000.

@hth313
Copy link
Owner

hth313 commented Jun 27, 2023

At the moment I do not have any plans to support fixed point. I am not aware how common support for fix point is, whether Clang (which is the front end used) supports it and how it would affect the backend.

@djipi
Copy link
Author

djipi commented Jun 27, 2023

Thank you for your feedback.

The Fixed Point is not widely available among the compilers, fortunately we can found library to handle the fixed (such as libfixmath).

So far I know llvm/Clang started a support for fixed point in 2018, but I do not know about their status.

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

2 participants