github.com/ck00004/CobaltStrikeParser-Go@v1.0.14/lib/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.regabireflect
     6  // +build goexperiment.regabireflect
     7  
     8  package abi
     9  
    10  const (
    11  	// See abi_generic.go.
    12  
    13  	// RAX, RBX, RCX, RDI, RSI, R8, R9, R10, R11.
    14  	IntArgRegs = 9
    15  
    16  	// X0 -> X14.
    17  	FloatArgRegs = 15
    18  
    19  	// We use SSE2 registers which support 64-bit float operations.
    20  	EffectiveFloatRegSize = 8
    21  )