25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- // +build amd64,!noasm
-
- package p503
-
- import cpu "github.com/cloudflare/p751sidh/internal/utils"
-
- // There couple of reasons for having those variables here:
- // 1) to have an access to them from assembly
- // 2) to make it easy to vendor the library
- // 3) make it possible to test all functionalities
- var useMULX bool
- var useADXMULX bool
-
- func init() {
- useMULX = cpu.HasBMI2
- useADXMULX = cpu.HasADX && cpu.HasBMI2
- }
|