Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/internal/obj/arm/asm5.go

    		// need to keep their RR shifts.
    		fixShift := func(a *obj.Addr) {
    			if a.Type == obj.TYPE_SHIFT {
    				typ := a.Offset & SHIFT_RR
    				isConst := a.Offset&(1<<4) == 0
    				amount := a.Offset >> 7 & 0x1f
    				if isConst && amount == 0 && (typ == SHIFT_LR || typ == SHIFT_AR || typ == SHIFT_RR) {
    					a.Offset -= typ
    					a.Offset += SHIFT_LL
    				}
    			}
    		}
    		fixShift(&p.From)
    		fixShift(&p.To)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
Back to top