Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MOVK (0.16 sec)

  1. src/cmd/internal/obj/arm64/asm7.go

    		o1 = c.omovconst(p.As, p, &p.From, int(p.To.Reg))
    
    	case 33: /* movk $uimm16 << pos */
    		o1 = c.opirr(p, p.As)
    
    		d := p.From.Offset
    		if d == 0 {
    			c.ctxt.Diag("zero shifts cannot be handled correctly: %v", p)
    		}
    		s := movcon(d)
    		if s < 0 || s >= 4 {
    			c.ctxt.Diag("bad constant for MOVK: %#x\n%v", uint64(d), p)
    		}
    		if (o1&S64) == 0 && s >= 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/arm64/asm.go

    			}
    
    			// R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21
    			// turn ADRP to MOVZ
    			o0 = 0xd2a00000 | uint32(o0&0x1f) | (uint32((v>>16)&0xffff) << 5)
    			// R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC
    			// turn LD64 to MOVK
    			if v&3 != 0 {
    				ldr.Errorf(s, "invalid address: %x for relocation type: R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC", v)
    			}
    			o1 = 0xf2800000 | uint32(o1&0x1f) | (uint32(v&0xffff) << 5)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
Back to top