Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 232 for Shift2 (0.11 sec)

  1. src/cmd/compile/internal/ssa/_gen/MIPS.rules

    (Avg32u <t> x y) => (ADD (SRLconst <t> (SUB <t> x y) [1]) y)
    
    (And(32|16|8) ...) => (AND ...)
    (Or(32|16|8) ...) => (OR ...)
    (Xor(32|16|8) ...) => (XOR ...)
    
    // constant shifts
    // generic opt rewrites all constant shifts to shift by Const64
    (Lsh32x64  x (Const64 [c])) && uint32(c) < 32 => (SLLconst x [int32(c)])
    (Rsh32x64  x (Const64 [c])) && uint32(c) < 32 => (SRAconst x [int32(c)])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 35.3K bytes
    - Viewed (0)
  2. src/runtime/softfloat64.go

    		return f ^ gs
    
    	case gm == 0: // x * 0 = 0 (with sign adjusted)
    		return g ^ fs
    	}
    
    	// 53-bit * 53-bit = 107- or 108-bit
    	lo, hi := mullu(fm, gm)
    	shift := mantbits64 - 1
    	trunc := lo & (1<<shift - 1)
    	mant := hi<<(64-shift) | lo>>shift
    	return fpack64(fs^gs, mant, fe+ge-1, trunc)
    }
    
    func fdiv64(f, g uint64) uint64 {
    	fs, fm, fe, fi, fn := funpack64(f)
    	gs, gm, ge, gi, gn := funpack64(g)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 08 17:58:41 UTC 2021
    - 11.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/BigIntegerMath.java

          sqrt0 = sqrtApproxWithDoubles(x);
        } else {
          int shift = (log2 - DoubleUtils.SIGNIFICAND_BITS) & ~1; // even!
          /*
           * We have that x / 2^shift < 2^54. Our initial approximation to sqrtFloor(x) will be
           * 2^(shift/2) * sqrtApproxWithDoubles(x / 2^shift).
           */
          sqrt0 = sqrtApproxWithDoubles(x.shiftRight(shift)).shiftLeft(shift >> 1);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/BigIntegerMath.java

          sqrt0 = sqrtApproxWithDoubles(x);
        } else {
          int shift = (log2 - DoubleUtils.SIGNIFICAND_BITS) & ~1; // even!
          /*
           * We have that x / 2^shift < 2^54. Our initial approximation to sqrtFloor(x) will be
           * 2^(shift/2) * sqrtApproxWithDoubles(x / 2^shift).
           */
          sqrt0 = sqrtApproxWithDoubles(x.shiftRight(shift)).shiftLeft(shift >> 1);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. src/math/big/natconv.go

    	if neg {
    		i++
    	}
    	s := make([]byte, i)
    
    	// convert power of two and non power of two bases separately
    	if b := Word(base); b == b&-b {
    		// shift is base b digit size in bits
    		shift := uint(bits.TrailingZeros(uint(b))) // shift > 0 because b >= 2
    		mask := Word(1<<shift - 1)
    		w := x[0]         // current word
    		nbits := uint(_W) // number of unprocessed bits in w
    
    		// convert less-significant words (include leading zeros)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 14.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/fieldselector_test.go

    			{
    				version:              version,
    				fieldSelector:        fmt.Sprintf("%s=blue", colorSelector),
    				expectedByName:       sets.New("shirt1", "shirt2"),
    				expectObserveRemoval: sets.New("shirt1", "shirt2"), // shirt 1 is deleted, shirt 2 is updated to not match the selector
    			},
    			{
    				version:              version,
    				fieldSelector:        "spec.quantity=2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:53:03 UTC 2024
    - 27K bytes
    - Viewed (0)
  7. src/strconv/ftoa.go

    	if mant == 0 {
    		exp = 0
    	}
    
    	// Shift digits so leading 1 (if any) is at bit 1<<60.
    	mant <<= 60 - flt.mantbits
    	for mant != 0 && mant&(1<<60) == 0 {
    		mant <<= 1
    		exp--
    	}
    
    	// Round if requested.
    	if prec >= 0 && prec < 15 {
    		shift := uint(prec * 4)
    		extra := (mant << shift) & (1<<60 - 1)
    		mant >>= 60 - shift
    		if extra|(mant&1) > 1<<59 {
    			mant++
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    (SRLI <t> [x] (MOVWUreg y)) && x >= 0 && x <= 31 => (SRLIW <t> [int64(x)] y)
    
    // Replace right shifts that exceed size of signed type.
    (SRAI <t> [x] (MOVBreg y)) && x >=  8 => (SRAI  [63] (SLLI <t> [56] y))
    (SRAI <t> [x] (MOVHreg y)) && x >= 16 => (SRAI  [63] (SLLI <t> [48] y))
    (SRAI <t> [x] (MOVWreg y)) && x >= 32 => (SRAIW [31] y)
    
    // Eliminate right shifts that exceed size of unsigned type.
    (SRLI <t> [x] (MOVBUreg y)) && x >=  8 => (MOVDconst <t> [0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  9. src/crypto/internal/edwards25519/field/fe.go

    	}
    
    	// Bits 0:51 (bytes 0:8, bits 0:64, shift 0, mask 51).
    	v.l0 = byteorder.LeUint64(x[0:8])
    	v.l0 &= maskLow51Bits
    	// Bits 51:102 (bytes 6:14, bits 48:112, shift 3, mask 51).
    	v.l1 = byteorder.LeUint64(x[6:14]) >> 3
    	v.l1 &= maskLow51Bits
    	// Bits 102:153 (bytes 12:20, bits 96:160, shift 6, mask 51).
    	v.l2 = byteorder.LeUint64(x[12:20]) >> 6
    	v.l2 &= maskLow51Bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/inst.go

    	}
    }
    
    type ImmShift struct {
    	imm   uint16
    	shift uint8
    }
    
    func (ImmShift) isArg() {}
    
    func (is ImmShift) String() string {
    	if is.shift == 0 {
    		return fmt.Sprintf("#%#x", is.imm)
    	}
    	if is.shift < 128 {
    		return fmt.Sprintf("#%#x, LSL #%d", is.imm, is.shift)
    	}
    	return fmt.Sprintf("#%#x, MSL #%d", is.imm, is.shift-128)
    }
    
    type ExtShift uint8
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
Back to top