1// Copyright 2023 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 purego || !(386 || amd64 || arm || arm64 || ppc64 || ppc64le || riscv64 || s390x)
6
7package bigmod
8
9import "unsafe"
10
11func addMulVVW1024(z, x *uint, y uint) (c uint) {
12	return addMulVVW(unsafe.Slice(z, 1024/_W), unsafe.Slice(x, 1024/_W), y)
13}
14
15func addMulVVW1536(z, x *uint, y uint) (c uint) {
16	return addMulVVW(unsafe.Slice(z, 1536/_W), unsafe.Slice(x, 1536/_W), y)
17}
18
19func addMulVVW2048(z, x *uint, y uint) (c uint) {
20	return addMulVVW(unsafe.Slice(z, 2048/_W), unsafe.Slice(x, 2048/_W), y)
21}
22