Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MOVZW (0.09 sec)

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

    func (c *ctxt7) omovlconst(as obj.As, p *obj.Prog, a *obj.Addr, rt int, os []uint32) (num uint8) {
    	switch as {
    	case AMOVW:
    		d := uint32(a.Offset)
    		// use MOVZW and MOVKW to load a constant to rt
    		os[0] = c.opirr(p, AMOVZW)
    		os[0] |= MOVCONST(int64(d), 0, rt)
    		os[1] = c.opirr(p, AMOVKW)
    		os[1] |= MOVCONST(int64(d), 1, rt)
    		return 2
    
    	case AMOVD:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
Back to top