Rename wuffs_base__cpu_arch__have_sse42

This commit is contained in:
Nigel Tao committed 2021-02-18 13:44:33 +11:00
1 parent 02e0955897
commit ce97a7ccd9
5 files changed
+35 -34

No files matched your search

+2 -1
View File
@@ -276,7 +276,8 @@ func cpuArchCNames(asserts []*a.Node) (caMacro string, caName string, caAttribut
case t.IDARMNeon:
caMacro, caName, caAttribute = "ARM_NEON", "arm_neon", ""
case t.IDX86SSE42:
caMacro, caName, caAttribute = "X86_64", "sse42", "__attribute__((target(\"sse4.2\")))"
caMacro, caName, caAttribute =
"X86_64", "x86_sse42", "__attribute__((target(\"sse4.2\")))"
}
}
}