Have _mm_cvtsi32_si128 cast its arg to int32_t

This commit is contained in:
Nigel Tao committed 2021-01-23 22:59:52 +11:00
1 parent d1b741338b
commit de9affaed8
2 files changed
+27 -27

No files matched your search

+1 -1
View File
@@ -460,7 +460,7 @@ func (g *gen) writeBuiltinCPUArch(b *buffer, recv *a.Expr, method t.ID, args []*
switch method {
case t.IDLoadU32:
b.writes(" = _mm_cvtsi32_si128((int)(")
b.writes(" = _mm_cvtsi32_si128((int32_t)(")
case t.IDLoadU64:
b.writes(" = _mm_cvtsi64_si128((int64_t)(")
case t.IDLoadSlice128: