Source file src/internal/abi/abi_amd64.go

     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  package abi
     6  
     7  const (
     8  	// See abi_generic.go.
     9  
    10  	// RAX, RBX, RCX, RDI, RSI, R8, R9, R10, R11.
    11  	IntArgRegs = 9
    12  
    13  	// X0 -> X14.
    14  	FloatArgRegs = 15
    15  
    16  	// We use SSE2 registers which support 64-bit float operations.
    17  	EffectiveFloatRegSize = 8
    18  )
    19  

View as plain text