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

Inquiry about SGX's Support for SIMD Instruction Sets and Access to XMM or YMM Registers #1008

Open
li0926 opened this issue Jan 19, 2024 · 1 comment

Comments

@li0926
Copy link

li0926 commented Jan 19, 2024

Hello, I would like to inquire about SGX's support for SIMD instruction sets. Specifically, can programs running within SGX use all SIMD instructions supported by the processor? Is it possible to access all XMM or YMM registers?

@adrianlut
Copy link

Hi @li0926,

yes, this is possible. The compiler uses all optimizations it knows regarding SIMD. If you include the AVX headers in your project (they are not in the include path for SGX projects by default), you can also program with the intrinsics available on your platform.

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