Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 419 for abi1 (0.06 sec)

  1. src/cmd/compile/internal/ssa/writebarrier.go

    		type volatileCopy struct {
    			src *Value // address of original volatile value
    			tmp *Value // address of temporary we've copied the volatile value into
    		}
    		var volatiles []volatileCopy
    
    		if !(f.ABIDefault == f.ABI1 && len(f.Config.intParamRegs) >= 3) {
    			// We don't need to do this if the calls we're going to do take
    			// all their arguments in registers.
    			// 3 is the magic number because it covers wbZero, wbMove, cgoCheckMemmove.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/config.go

    	floatParamRegs []int8         // register numbers of floating param (in/out) registers
    	ABI1           *abi.ABIConfig // "ABIInternal" under development // TODO change comment when this becomes current
    	ABI0           *abi.ABIConfig
    	GCRegMap       []*Register // garbage collector register map, by GC register index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/expand_calls.go

    	r := c.regs[c.nextSlice]
    	return ArgOpAndRegisterFor(r, c.config)
    }
    
    // ArgOpAndRegisterFor converts an abi register index into an ssa Op and corresponding
    // arg register index.
    func ArgOpAndRegisterFor(r abi.RegIndex, abiConfig *abi.ABIConfig) (Op, int64) {
    	i := abiConfig.FloatIndexFor(r)
    	if i >= 0 { // float PR
    		return OpArgFloatReg, i
    	}
    	return OpArgIntReg, int64(r)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    // Passing a nil function returns the default ABI based on experiment configuration.
    func abiForFunc(fn *ir.Func, abi0, abi1 *abi.ABIConfig) *abi.ABIConfig {
    	if buildcfg.Experiment.RegabiArgs {
    		// Select the ABI based on the function's defining ABI.
    		if fn == nil {
    			return abi1
    		}
    		switch fn.ABI {
    		case obj.ABI0:
    			return abi0
    		case obj.ABIInternal:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/func.go

    	ruleMatches    map[string]int // number of times countRule was called during compilation for any given string
    	ABI0           *abi.ABIConfig // A copy, for no-sync access
    	ABI1           *abi.ABIConfig // A copy, for no-sync access
    	ABISelf        *abi.ABIConfig // ABI for function being compiled
    	ABIDefault     *abi.ABIConfig // ABI for rtcall and other no-parsed-signature/pragma functions.
    
    	scheduled   bool  // Values in Blocks are in final order
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssagen/abi.go

    				base.ErrorfAt(fn.Pos(), 0, "%v defined in both Go and assembly", fn)
    			}
    			fn.ABI = defABI
    		}
    
    		if fn.Pragma&ir.CgoUnsafeArgs != 0 {
    			// CgoUnsafeArgs indicates the function (or its callee) uses
    			// offsets to dispatch arguments, which currently using ABI0
    			// frame layout. Pin it to ABI0.
    			fn.ABI = obj.ABI0
    			// Propagate linkname attribute, which was set on the ABIInternal
    			// symbol.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. src/reflect/abi.go

    // commented out there should be the actual values once
    // we're ready to use the register ABI everywhere.
    var (
    	intArgRegs   = abi.IntArgRegs
    	floatArgRegs = abi.FloatArgRegs
    	floatRegSize = uintptr(abi.EffectiveFloatRegSize)
    )
    
    // abiStep represents an ABI "instruction." Each instruction
    // describes one part of how to translate between a Go value
    // in memory and a call frame.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. src/cmd/link/internal/sym/symbol.go

    	SymVerABICount    = 2  // Number of internal ABIs
    	SymVerStatic      = 10 // Minimum version used by static (file-local) syms
    )
    
    func ABIToVersion(abi obj.ABI) int {
    	switch abi {
    	case obj.ABI0:
    		return SymVerABI0
    	case obj.ABIInternal:
    		if !buildcfg.Experiment.RegabiWrappers {
    			// If wrappers are not enabled, ABI0 and ABIInternal are actually same
    			// so we normalize everything to ABI0.
    			return SymVerABI0
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 22 13:50:24 UTC 2021
    - 933 bytes
    - Viewed (0)
  9. src/cmd/link/internal/loader/loader.go

    		}
    	}
    }
    
    func abiToVer(abi uint16, localSymVersion int) int {
    	var v int
    	if abi == goobj.SymABIstatic {
    		// Static
    		v = localSymVersion
    	} else if abiver := sym.ABIToVersion(obj.ABI(abi)); abiver != -1 {
    		// Note that data symbols are "ABI0", which maps to version 0.
    		v = abiver
    	} else {
    		log.Fatalf("invalid symbol ABI: %d", abi)
    	}
    	return v
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  10. src/internal/abi/abi.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package abi
    
    import (
    	"internal/goarch"
    	"unsafe"
    )
    
    // RegArgs is a struct that has space for each argument
    // and return value register on the current architecture.
    //
    // Assembly code knows the layout of the first two fields
    // of RegArgs.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 23 15:51:32 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top