Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for REG_R31 (0.03 sec)

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

    	// Create maps for easy lookup of instruction names etc.
    	// Note that there is no list of names as there is for 386 and amd64.
    	register[obj.Rconv(arm64.REGSP)] = int16(arm64.REGSP)
    	for i := arm64.REG_R0; i <= arm64.REG_R31; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	// Rename R18 to R18_PLATFORM to avoid accidental use.
    	register["R18_PLATFORM"] = register["R18"]
    	delete(register, "R18")
    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/arm64.go

    // ARM64RegisterShift constructs an ARM64 register with shift operation.
    func ARM64RegisterShift(reg, op, count int16) (int64, error) {
    	// the base register of shift operations must be general register.
    	if reg > arm64.REG_R31 || reg < arm64.REG_R0 {
    		return 0, errors.New("invalid register for shift operation")
    	}
    	return int64(reg&31)<<16 | int64(op)<<22 | int64(uint16(count)), nil
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Sep 29 09:04:58 UTC 2022
    - 10.4K bytes
    - Viewed (0)
Back to top