Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RegisterOpcode (0.14 sec)

  1. src/cmd/internal/obj/riscv/list.go

    // license that can be found in the LICENSE file.
    
    package riscv
    
    import (
    	"fmt"
    
    	"cmd/internal/obj"
    )
    
    func init() {
    	obj.RegisterRegister(obj.RBaseRISCV, REG_END, RegName)
    	obj.RegisterOpcode(obj.ABaseRISCV, Anames)
    	obj.RegisterOpSuffix("riscv64", opSuffixString)
    }
    
    func RegName(r int) string {
    	switch {
    	case r == 0:
    		return "NONE"
    	case r == REG_G:
    		return "g"
    	case r == REG_SP:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 959 bytes
    - Viewed (0)
  2. src/cmd/internal/obj/arm64/list7.go

    	"MI",
    	"PL",
    	"VS",
    	"VC",
    	"HI",
    	"LS",
    	"GE",
    	"LT",
    	"GT",
    	"LE",
    	"AL",
    	"NV",
    }
    
    func init() {
    	obj.RegisterRegister(obj.RBaseARM64, REG_SPECIAL+1024, rconv)
    	obj.RegisterOpcode(obj.ABaseARM64, Anames)
    	obj.RegisterRegisterList(obj.RegListARM64Lo, obj.RegListARM64Hi, rlconv)
    	obj.RegisterOpSuffix("arm64", obj.CConvARM)
    	obj.RegisterSpecialOperands(int64(SPOP_BEGIN), int64(SPOP_END), SPCconv)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/util.go

    }
    
    type opSet struct {
    	lo    As
    	names []string
    }
    
    // Not even worth sorting
    var aSpace []opSet
    
    // RegisterOpcode binds a list of instruction names
    // to a given instruction number range.
    func RegisterOpcode(lo As, Anames []string) {
    	if len(Anames) > AllowedOpCodes {
    		panic(fmt.Sprintf("too many instructions, have %d max %d", len(Anames), AllowedOpCodes))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top