aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEyalcfish <yulucohen@gmail.com>2026-02-25 07:39:49 +0200
committerCherry Mui <cherryyz@google.com>2026-02-25 11:19:51 -0800
commit78da9242cd6bfde5db9a80a673c6c406257c8665 (patch)
treef151f6b4bd12bedddae2d2144d524082e74646bb /src
parent5b40e48a2970734e816d2a9f2eac163a3315f3c2 (diff)
downloadgo-78da9242cd6bfde5db9a80a673c6c406257c8665.tar.xz
test/simd: add test for issue 77582
This addresses post-merge feedback from Cherry regarding CL 745460. Updates #77582 Change-Id: I1165b8f499d2381b3d45e4a14f9d052d947b33c6 Reviewed-on: https://go-review.googlesource.com/c/go/+/748760 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/compile/internal/ssa/issue77582_test.go29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/cmd/compile/internal/ssa/issue77582_test.go b/src/cmd/compile/internal/ssa/issue77582_test.go
deleted file mode 100644
index d7bcda6df9..0000000000
--- a/src/cmd/compile/internal/ssa/issue77582_test.go
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2026 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-//go:build goexperiment.simd && amd64
-
-package ssa
-
-import (
- "testing"
-
- "cmd/compile/internal/archsimd"
-)
-
-func TestVPTERNLOGDPanic(t *testing.T) {
- if !archsimd.X86.AVX512() {
- t.Skip("Test only applies to AVX512")
- }
-
- resultsMask := archsimd.Mask64x8{}
- a := archsimd.Mask64x8FromBits(0xFF)
- b := archsimd.Float64x8{}.Less(archsimd.Float64x8{})
-
- for i := 0; i < 1; i++ {
- resultsMask = a.Or(b).Or(resultsMask)
- // This nested logic triggered the panic
- _ = resultsMask.And(resultsMask.And(archsimd.Mask64x8{}))
- }
-}