Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for EncodeUImmediate (0.25 sec)

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

    		off := r.Add()
    
    		low, high, err := riscv.Split32BitImmediate(off)
    		if err != nil {
    			ldr.Errorf(s, "relocation does not fit in 32-bits: %d", off)
    		}
    
    		luiImm, err := riscv.EncodeUImmediate(high)
    		if err != nil {
    			ldr.Errorf(s, "cannot encode R_RISCV_TLS_LE LUI relocation offset for %s: %v", ldr.SymName(rs), err)
    		}
    
    		addiwImm, err := riscv.EncodeIImmediate(low)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 08:06:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top