github.com/gidoBOSSftw5731/go/src@v0.0.0-20210226122457-d24b0edbf019/internal/abi/abi_amd64.go (about)

     1  // Copyright 2020 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 goexperiment.regabi
     6  // +build goexperiment.regabi
     7  
     8  package abi
     9  
    10  const (
    11  	// See abi_generic.go.
    12  
    13  	// Currently these values are zero because whatever uses
    14  	// them will expect the register ABI, which isn't ready
    15  	// yet.
    16  
    17  	// RAX, RBX, RCX, RDI, RSI, R8, R9, R10, R11.
    18  	IntArgRegs = 0 // 9
    19  
    20  	// X0 -> X14.
    21  	FloatArgRegs = 0 // 15
    22  
    23  	// We use SSE2 registers which support 64-bit float operations.
    24  	EffectiveFloatRegSize = 0 // 8
    25  )