- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are SSE instructions possible in enclave? (such as _mm_set1_ps, _mm_add_ps, etc)
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Hyunsoo,
Yes, it is possible to use SSE instructions from within enclaves but you will have to manually copy the relevant header files to your enclave's include directory. For example, Step 3 in the Eigen in Intel SGX Github states:
"Locate the following files in system directories and copy them over to Include/intrinsic. Usually, they are located in gcc's include directory (e.g. /usr/lib/gcc/x86_64-linux-gnu/6.5.0/include).
- emmintrin.h
- mmintrin.h
- mm_malloc.h
- xmmintrin.h"
You will have to do the same if using Windows.
Sincerely,
Jesus G.
Intel Customer Support
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Hyunsoo,
Yes, it is possible to use SSE instructions from within enclaves but you will have to manually copy the relevant header files to your enclave's include directory. For example, Step 3 in the Eigen in Intel SGX Github states:
"Locate the following files in system directories and copy them over to Include/intrinsic. Usually, they are located in gcc's include directory (e.g. /usr/lib/gcc/x86_64-linux-gnu/6.5.0/include).
- emmintrin.h
- mmintrin.h
- mm_malloc.h
- xmmintrin.h"
You will have to do the same if using Windows.
Sincerely,
Jesus G.
Intel Customer Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This thread has been marked as answered and Intel will no longer monitor this thread. If you want a response from Intel in a follow-up question, please open a new thread.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page