Files
wazero/internal/platform/platform_amd64.go
Edoardo Vacchi 28b0084e62 compiler(amd64): return false on SSE4 unsupported CPUs (#1121)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
Co-authored-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2023-02-14 08:33:18 +09:00

8 lines
207 B
Go

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