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

why fmadd __ARM_FEATURE_FMA is not enabled by default? #21

Open
wangyongxina opened this issue Jul 6, 2020 · 1 comment
Open

why fmadd __ARM_FEATURE_FMA is not enabled by default? #21

wangyongxina opened this issue Jul 6, 2020 · 1 comment

Comments

@wangyongxina
Copy link

for ARM:
__ARM_FEATURE_FMA macro is not defined
for SSE:
fmadd could implement as:
_mm_fmadd_ps

Is there any reason ?
thanks

@kouchy
Copy link
Member

kouchy commented Jul 6, 2020

Hi @wangyongxina,

I think that __ARM_FEATURE_FMA is defined by the compiler.

You're right for the _mm_fmadd_ps instruction, I missed that.
Feel free to send a pull request.

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