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

Support Altivec and VSX #86

Open
barracuda156 opened this issue Dec 12, 2024 · 2 comments
Open

Support Altivec and VSX #86

barracuda156 opened this issue Dec 12, 2024 · 2 comments

Comments

@barracuda156
Copy link

Is it possible to add support for Altivec (ISA 2.03) and VSX (ISA 2.07) instructions for PowerPC?

@AgnerF
Copy link
Collaborator

AgnerF commented Dec 12, 2024

Support for different platforms with different instruction sets would be a separate project. I am not going to make this, but the vector class library has a permissive Apache License that allows anybody to make a fork for other platforms.

You are raising two issues here. I don't know why you want scalar fallback. Most software today is running in 64 bit mode which guarantees at least SSE2 support.

@barracuda156
Copy link
Author

Thank you for responding.

SSE is x86-only, it is not supported on PowerPC. Obviously, the first best would be to use appropriate SIMD for the platform (G4 and later CPUs have Altivec), but a scalar implementation is still better than a broken build. Support for SIMD is unrelated to bitness here; even if building for ppc64, the same problem arises.

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