Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com> Co-authored-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
8 lines
207 B
Go
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)
|
|
}
|