Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsARMBFX (0.06 sec)

  1. src/cmd/asm/internal/arch/arm.go

    	switch op {
    	case arm.AMRC, aMCR: // Note: aMCR is defined in this package.
    		return true
    	}
    	return false
    }
    
    // IsARMBFX reports whether the op (as defined by an arm.A* constant) is one the
    // BFX-like instructions which are in the form of "op $width, $LSB, (Reg,) Reg".
    func IsARMBFX(op obj.As) bool {
    	switch op {
    	case arm.ABFX, arm.ABFXU, arm.ABFC, arm.ABFI:
    		return true
    	}
    	return false
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    				/*
    					STREX x, (y), z
    						from=(y) reg=x to=z
    				*/
    				prog.From = a[1]
    				prog.Reg = p.getRegister(prog, op, &a[0])
    				prog.To = a[2]
    				break
    			}
    			if arch.IsARMBFX(op) {
    				// a[0] and a[1] must be constants, a[2] must be a register
    				prog.From = a[0]
    				prog.AddRestSource(a[1])
    				prog.To = a[2]
    				break
    			}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top