Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for regoff (0.06 sec)

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

    			continue
    		}
    		if i == riscv.REG_TP || i == riscv.REG_G {
    			continue
    		}
    		name := fmt.Sprintf("X%d", i-riscv.REG_X0)
    		register[name] = int16(i)
    	}
    	for i := riscv.REG_F0; i <= riscv.REG_F31; i++ {
    		name := fmt.Sprintf("F%d", i-riscv.REG_F0)
    		register[name] = int16(i)
    	}
    	for i := riscv.REG_V0; i <= riscv.REG_V31; i++ {
    		name := fmt.Sprintf("V%d", i-riscv.REG_V0)
    		register[name] = int16(i)
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 24 12:32:56 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/arch/arm.go

    }
    
    func armRegisterNumber(name string, n int16) (int16, bool) {
    	if n < 0 || 15 < n {
    		return 0, false
    	}
    	switch name {
    	case "R":
    		return arm.REG_R0 + n, true
    	case "F":
    		return arm.REG_F0 + n, true
    	}
    	return 0, false
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top