aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/go/820480.patch
blob: 05459a80f9c4ccf51a6962dbfc37e0778846e6d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From fa10bbcce5635dd533ba933252e9dabd8a7f5e2a Mon Sep 17 00:00:00 2001
From: David Chase <drchase@google.com>
Date: Mon, 24 Aug 2026 15:20:40 -0400
Subject: [PATCH] simd/archsimd: added PMULL gate on carryless multiply test

Fixes #80991.

Change-Id: I637de72acbb338c4c3b0a47f4a5520c33fe81fd2
---

diff --git a/src/simd/archsimd/internal/simd_test/simd_arm64_test.go b/src/simd/archsimd/internal/simd_test/simd_arm64_test.go
index f009488..7836fc8 100644
--- a/src/simd/archsimd/internal/simd_test/simd_arm64_test.go
+++ b/src/simd/archsimd/internal/simd_test/simd_arm64_test.go
@@ -22,6 +22,9 @@
 }
 
 func TestClMul(t *testing.T) {
+	if !archsimd.ARM64.PMULL() {
+		t.Skip("no carryless multiply")
+	}
 	var x = archsimd.LoadUint64x2([]uint64{1, 5})
 	var y = archsimd.LoadUint64x2([]uint64{3, 9})