Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for riscv64SpecialOperand (0.12 sec)

  1. src/cmd/asm/internal/arch/riscv64.go

    		ok = true
    	}
    	return
    }
    
    var riscv64SpecialOperand map[string]riscv.SpecialOperand
    
    // RISCV64SpecialOperand returns the internal representation of a special operand.
    func RISCV64SpecialOperand(name string) riscv.SpecialOperand {
    	if riscv64SpecialOperand == nil {
    		// Generate mapping when function is first called.
    		riscv64SpecialOperand = map[string]riscv.SpecialOperand{}
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Sep 12 08:12:45 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    		case sys.ARM64:
    			if opd := arch.ARM64SpecialOperand(name); opd != arm64.SPOP_END {
    				a.Type = obj.TYPE_SPECIAL
    				a.Offset = int64(opd)
    			}
    		case sys.RISCV64:
    			if opd := arch.RISCV64SpecialOperand(name); opd != riscv.SPOP_END {
    				a.Type = obj.TYPE_SPECIAL
    				a.Offset = int64(opd)
    			}
    		}
    
    		if a.Type != obj.TYPE_SPECIAL {
    			// We have a symbol. Parse $sym±offset(symkind)
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Nov 12 03:59:40 UTC 2025
    - 37.3K bytes
    - Viewed (0)
Back to top