github.com/primecitizens/pcz/std@v0.2.1/core/abi/abi_amd64.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  //
     4  // Copyright 2020 The Go Authors. All rights reserved.
     5  // Use of this source code is governed by a BSD-style
     6  // license that can be found in the LICENSE file.
     7  
     8  //go:build amd64
     9  
    10  package abi
    11  
    12  const (
    13  	// See abi_generic.go.
    14  
    15  	// RAX, RBX, RCX, RDI, RSI, R8, R9, R10, R11.
    16  	IntArgRegs = 9
    17  
    18  	// X0 -> X14.
    19  	FloatArgRegs = 15
    20  
    21  	// We use SSE2 registers which support 64-bit float operations.
    22  	EffectiveFloatRegSize = 8
    23  )