github.com/wasilibs/wazerox@v0.0.0-20240124024944-4923be63ab5f/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  }