Add arm_neon u8x8, u16x4, etc types

This commit is contained in:
Nigel Tao committed 2021-02-24 14:28:45 +11:00
1 parent 3d6c609dc1
commit 62ee403d06
8 files changed
+211 -29

No files matched your search

+3 -1
View File
@@ -54,7 +54,9 @@ func (q *checker) tcheckCPUArchBits(cab cpuArchBits, typ *a.TypeExpr) error {
switch qid[1] {
case t.IDARMCRC32Utility, t.IDARMCRC32U32:
need = cpuArchBitsARMCRC32
case t.IDARMNeonUtility, t.IDARMNeon64, t.IDARMNeon128:
case t.IDARMNeonUtility, t.IDARMNeon64, t.IDARMNeon128,
t.IDARMNeonU8x8, t.IDARMNeonU16x4, t.IDARMNeonU32x2, t.IDARMNeonU64x1,
t.IDARMNeonU8x16, t.IDARMNeonU16x8, t.IDARMNeonU32x4, t.IDARMNeonU64x2:
need = cpuArchBitsARMNeon
case t.IDX86SSE42Utility, t.IDX86M128I:
need = cpuArchBitsX86SSE42