github.com/bananabytelabs/wazero@v0.0.0-20240105073314-54b22a776da8/internal/platform/platform_amd64.go (about)

     1  package platform
     2  
     3  // init verifies that the current CPU supports the required AMD64 instructions
     4  func init() {
     5  	// Ensure SSE4.1 is supported.
     6  	archRequirementsVerified = CpuFeatures.Has(CpuFeatureSSE4_1)
     7  }