github.com/mtsmfm/go/src@v0.0.0-20221020090648-44bdcb9f8fde/internal/abi/abi_riscv64.go (about)

     1  // Copyright 2022 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.regabiargs
     6  
     7  package abi
     8  
     9  const (
    10  	// See abi_generic.go.
    11  
    12  	// X8 - X23
    13  	IntArgRegs = 16
    14  
    15  	// F8 - F23.
    16  	FloatArgRegs = 16
    17  
    18  	EffectiveFloatRegSize = 8
    19  )