Debian Codegraph @

src/internal/runtime/gc/scan/scan_amd64_test.go

raw
1 // Copyright 2025 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 //go:build amd64
6
7 package scan_test
8
9 import (
10 "internal/runtime/gc/scan"
11 "testing"
12 )
13
14 func TestScanSpanPackedAVX512(t *testing.T) {
15 if !scan.CanAVX512() {
16 t.Skip("no AVX512")
17 }
18 testScanSpanPacked(t, scan.ScanSpanPackedAVX512)
19 }