From: Srinivas Pokala Date: Tue, 11 Nov 2025 03:25:23 +0000 (+0100) Subject: internal/abi: define s390x ABI constants X-Git-Tag: go1.26rc1~162 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1036f6f48595a9a8aedf265c5e17df84cbf03a9f;p=gostls13.git internal/abi: define s390x ABI constants Updates #40724 Change-Id: I9b6c56194b2cbc95c08441dfa1f779ed5efbadb8 Reviewed-on: https://go-review.googlesource.com/c/go/+/719461 Reviewed-by: Mark Freeman Reviewed-by: Keith Randall Reviewed-by: Michael Pratt LUCI-TryBot-Result: Go LUCI Reviewed-by: Vishwanatha HD --- diff --git a/src/internal/abi/abi_s390x.go b/src/internal/abi/abi_s390x.go new file mode 100644 index 0000000000..9b07f27382 --- /dev/null +++ b/src/internal/abi/abi_s390x.go @@ -0,0 +1,19 @@ +// 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 goexperiment.regabiargs + +package abi + +const ( + // See abi_generic.go. + + // R2 - R9. + IntArgRegs = 8 + + // F0 - F15 + FloatArgRegs = 16 + + EffectiveFloatRegSize = 8 +)