Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for shiftName (0.29 sec)

  1. src/cmd/vendor/golang.org/x/arch/arm/armasm/inst.go

    	RotateRight      Shift = 3 // right rotate
    	RotateRightExt   Shift = 4 // right rotate through carry (Count will always be 1)
    )
    
    var shiftName = [...]string{
    	"LSL", "LSR", "ASR", "ROR", "RRX",
    }
    
    func (s Shift) String() string {
    	if s < 5 {
    		return shiftName[s]
    	}
    	return fmt.Sprintf("Shift(%d)", int(s))
    }
    
    // A RegShift is a register shifted by a constant.
    type RegShift struct {
    	Reg   Reg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 22:23:32 UTC 2017
    - 7.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/memcombine.go

    	// Check that all the shift/trunc are of the same base value.
    	shiftBase := getShiftBase(a)
    	if shiftBase == nil {
    		return false
    	}
    	for i := int64(0); i < n; i++ {
    		if !isShiftBase(a[i].store, shiftBase) {
    			return false
    		}
    	}
    
    	// Check for writes in little-endian or big-endian order.
    	isLittleEndian := true
    	shift0 := shift(a[0].store, shiftBase)
    	for i := int64(1); i < n; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top