Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkShiftAmount (0.26 sec)

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

    		expect = 4
    	}
    
    	if expect != n {
    		c.ctxt.Diag("expected %d registers, got %d: %v.", expect, n, p)
    	}
    }
    
    /* checkShiftAmount checks whether the index shift amount is valid */
    /* for load with register offset instructions */
    func (c *ctxt7) checkShiftAmount(p *obj.Prog, a *obj.Addr) {
    	var amount int16
    	amount = (a.Index >> 5) & 7
    	switch p.As {
    	case AMOVB, AMOVBU:
    		if amount != 0 {
    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