Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for shifts (0.74 sec)

  1. test/codegen/shift.go

    	if shift >= 0 && shift < 64 {
    		// arm64:"LSL",-"CSEL"
    		r1 = val64 << shift
    	}
    	if shift >= 0 && shift < 32 {
    		// arm64:"LSL",-"CSEL"
    		r2 = val32 << shift
    	}
    	if shift >= 0 && shift < 16 {
    		// arm64:"LSL",-"CSEL"
    		r3 = val16 << shift
    	}
    	if shift >= 0 && shift < 8 {
    		// arm64:"LSL",-"CSEL"
    		r4 = val8 << shift
    	}
    	return r1, r2, r3, r4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    		} else {
    			p.errorf("bad addr size for DATA argument: %d", sz)
    		}
    	}
    }
    
    // asmGlobl assembles a GLOBL pseudo-op.
    // GLOBL shifts<>(SB),8,$256
    // GLOBL shifts<>(SB),$256
    func (p *Parser) asmGlobl(operands [][]lex.Token) {
    	if len(operands) != 2 && len(operands) != 3 {
    		p.errorf("expect two or three operands for GLOBL")
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. operator/cmd/mesh/install.go

    	})
    	if err != nil {
    		return err
    	}
    	// If there is no default webhook but a revisioned default webhook exists,
    	// and we are installing a new IOP with default semantics, the default webhook shifts.
    	if exists && len(mwhs.Items) == 0 && iop.Spec.GetRevision() == "" {
    		p.Println("The default revision has been updated to point to this installation.")
    	}
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. test/codegen/arithmetic.go

    		d = divd / divr
    		// amd64:-"JMP"
    		// 386:-"JMP"
    		e = divd % divr
    		d += e
    	}
    	return d, e
    }
    
    // Check that len() and cap() calls divided by powers of two are
    // optimized into shifts and ands
    
    func LenDiv1(a []int) int {
    	// 386:"SHRL\t[$]10"
    	// amd64:"SHRQ\t[$]10"
    	// arm64:"LSR\t[$]10",-"SDIV"
    	// arm:"SRL\t[$]10",-".*udiv"
    	// ppc64x:"SRD"\t[$]10"
    	return len(a) / 1024
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:28:00 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Xor16", argLength: 2, commutative: true},
    	{name: "Xor32", argLength: 2, commutative: true},
    	{name: "Xor64", argLength: 2, commutative: true},
    
    	// For shifts, AxB means the shifted value has A bits and the shift amount has B bits.
    	// Shift amounts are considered unsigned.
    	// If arg1 is known to be nonnegative and less than the number of bits in arg0,
    	// then auxInt may be set to 1.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. src/math/big/float.go

    // trailing 0 bits. x.mant is normalized if the msb of x.mant == 1 (i.e.,
    // the msb is shifted all the way "to the left"). Thus, if the mantissa has
    // trailing 0 bits or x.prec is not a multiple of the Word size _W,
    // x.mant[0] has trailing zero bits. The msb of the mantissa corresponds
    // to the value 0.5; the exponent x.exp shifts the binary point as needed.
    //
    // A zero or non-finite Float x ignores x.mant and x.exp.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  7. src/go/types/builtins.go

    			//    floating-point numbers if possible,
    			// 2) if one of them is not constant (possible because
    			//    it contains a shift that is yet untyped), convert
    			//    both of them to float64 since they must have the
    			//    same type to succeed (this will result in an error
    			//    because shifts of floats are not permitted)
    			if x.mode == constant_ && y.mode == constant_ {
    				toFloat := func(x *operand) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/builtins.go

    			//    floating-point numbers if possible,
    			// 2) if one of them is not constant (possible because
    			//    it contains a shift that is yet untyped), convert
    			//    both of them to float64 since they must have the
    			//    same type to succeed (this will result in an error
    			//    because shifts of floats are not permitted)
    			if x.mode == constant_ && y.mode == constant_ {
    				toFloat := func(x *operand) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		{name: "ROTLW", argLength: 2, reg: gp21, asm: "ROTLW"}, // uint32(arg0) rotate left by arg1 mod 32
    		// The following are ops to implement the extended mnemonics for shifts as described in section C.8 of the ISA.
    		// The constant shift values are packed into the aux int32.
    		{name: "CLRLSLWI", argLength: 1, reg: gp11, asm: "CLRLSLWI", aux: "Int32"}, //
    		{name: "CLRLSLDI", argLength: 1, reg: gp11, asm: "CLRLSLDI", aux: "Int32"}, //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  10. src/net/netip/netip.go

    		return false
    	}
    	if ip.Is4() {
    		// xor the IP addresses together; mismatched bits are now ones.
    		// Shift away the number of bits we don't care about.
    		// Shifts in Go are more efficient if the compiler can prove
    		// that the shift amount is smaller than the width of the shifted type (64 here).
    		// We know that p.bits is in the range 0..32 because p is Valid;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
Back to top