aboutsummaryrefslogtreecommitdiff
path: root/blake2s/blake2s_loong64.go
diff options
context:
space:
mode:
Diffstat (limited to 'blake2s/blake2s_loong64.go')
-rw-r--r--blake2s/blake2s_loong64.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/blake2s/blake2s_loong64.go b/blake2s/blake2s_loong64.go
deleted file mode 100644
index 1e962b1..0000000
--- a/blake2s/blake2s_loong64.go
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2025 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 loong64 && gc && !purego
-
-package blake2s
-
-import "golang.org/x/sys/cpu"
-
-//go:noescape
-func hashBlocksVX(h *[8]uint32, c *[2]uint32, flag uint32, blocks []byte)
-
-func hashBlocks(h *[8]uint32, c *[2]uint32, flag uint32, blocks []byte) {
- if cpu.Loong64.HasLSX {
- hashBlocksVX(h, c, flag, blocks)
- } else {
- hashBlocksGeneric(h, c, flag, blocks)
- }
-}