Add arm_crc32,arm_neon cpu_arch conditions

This commit is contained in:
Nigel Tao committed 2021-02-13 17:01:09 +11:00
1 parent 3c627574a7
commit 3338b5eafa
7 files changed
+125 -25

No files matched your search

+1 -1
View File
@@ -455,7 +455,7 @@ func (n *Assert) IsChooseCPUArch() bool {
return false
}
switch rhs.Ident() {
case t.IDX86SSE42, t.IDX86AVX2:
case t.IDARMCRC32, t.IDARMNeon, t.IDX86SSE42, t.IDX86AVX2:
return true
}
return false