fix(sgx): revert the use of AVX2 and AVX512
Fixes: ("feat(shim-sgx): enable AVX2 and AVX512 usage in the enclave")
Closes:
@@ -27,14 +27,7 @@ pub const ENCL_SIZE_BITS: u8 = 32;
/// FIXME: doc
pub const ENCL_SIZE: usize = 1 << ENCL_SIZE_BITS;
-const XFRM: Xfrm = Xfrm::from_bits_truncate(
- Xfrm::X87.bits()
- | Xfrm::SSE.bits()
- | Xfrm::AVX.bits()
- | Xfrm::OPMASK.bits()
- | Xfrm::ZMM_HI256.bits()
- | Xfrm::HI16_ZMM.bits(),
-);
+const XFRM: Xfrm = Xfrm::from_bits_truncate(Xfrm::X87.bits() | Xfrm::SSE.bits());
/// Default enclave CPU attributes
pub const ATTR: Attributes = Attributes::new(Features::MODE64BIT, XFRM);
