Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 553 for Shift2 (0.22 sec)

  1. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/tables.go

    	// CMN <Wn|WSP>, #<imm>{, <shift>}
    	{0xff00001f, 0x3100001f, CMN, instArgs{arg_Wns, arg_IAddSub}, nil},
    	// ADDS <Wd>, <Wn|WSP>, #<imm>{, <shift>}
    	{0xff000000, 0x31000000, ADDS, instArgs{arg_Wd, arg_Wns, arg_IAddSub}, nil},
    	// CMN <Xn|SP>, #<imm>{, <shift>}
    	{0xff00001f, 0xb100001f, CMN, instArgs{arg_Xns, arg_IAddSub}, nil},
    	// ADDS <Xd>, <Xn|SP>, #<imm>{, <shift>}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 17:57:48 UTC 2017
    - 211.8K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/asm/internal/arch/arm64.go

    		}
    	}
    	return 0, false
    }
    
    // ARM64RegisterShift constructs an ARM64 register with shift operation.
    func ARM64RegisterShift(reg, op, count int16) (int64, error) {
    	// the base register of shift operations must be general register.
    	if reg > arm64.REG_R31 || reg < arm64.REG_R0 {
    		return 0, errors.New("invalid register for shift operation")
    	}
    	return int64(reg&31)<<16 | int64(op)<<22 | int64(uint16(count)), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 09:04:58 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go

    		{name: "SLLIW", argLength: 1, reg: gp11, asm: "SLLIW", aux: "Int64"}, // arg0 << auxint, shift amount 0-31, logical left shift of 32 bit value, sign extended to 64 bits
    		{name: "SRAI", argLength: 1, reg: gp11, asm: "SRAI", aux: "Int64"},   // arg0 >> auxint, shift amount 0-63, arithmetic right shift
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. src/math/bits.go

    package math
    
    const (
    	uvnan    = 0x7FF8000000000001
    	uvinf    = 0x7FF0000000000000
    	uvneginf = 0xFFF0000000000000
    	uvone    = 0x3FF0000000000000
    	mask     = 0x7FF
    	shift    = 64 - 11 - 1
    	bias     = 1023
    	signMask = 1 << 63
    	fracMask = 1<<shift - 1
    )
    
    // Inf returns positive infinity if sign >= 0, negative infinity if sign < 0.
    func Inf(sign int) float64 {
    	var v uint64
    	if sign >= 0 {
    		v = uvinf
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:52:29 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    		// S{HL, HR, AR}x: shift operations
    		// SHL: shift left
    		// SHR: shift right logical (0s are shifted in from beyond the word size)
    		// SAR: shift right arithmetic (sign bit is shifted in from beyond the word size)
    		// arg0 is the value being shifted
    		// arg1 is the amount to shift, interpreted mod (Q=64,L=32,W=32,B=32)
    		// (Note: x86 is weird, the 16 and 8 byte shifts still use all 5 bits of shift amount!)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (1)
  7. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/arg.go

    //
    // - arg_Wm_shift__LSL_0__LSR_1__ASR_2__0_31:
    //     a W register encoded in Rm with a shift encoded in shift[23:22] and an amount
    //     encoded in imm6[15:10] in the range [0,31].
    //
    // - arg_IAddSub:
    //     An immediate for a add/sub instruction encoded in imm12[21:10] with an optional
    //     left shift of 12 encoded in shift[23:22].
    //
    // - arg_Rt_31_1__W_0__X_1:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 17:57:48 UTC 2017
    - 20K bytes
    - Viewed (0)
  8. src/math/cmplx/tan.go

    	}
    	// Must apply Payne-Hanek range reduction
    	const (
    		mask     = 0x7FF
    		shift    = 64 - 11 - 1
    		bias     = 1023
    		fracMask = 1<<shift - 1
    	)
    	// Extract out the integer and exponent such that,
    	// x = ix * 2 ** exp.
    	ix := math.Float64bits(x)
    	exp := int(ix>>shift&mask) - bias - shift
    	ix &= fracMask
    	ix |= 1 << shift
    
    	// mPi is the binary digits of 1/Pi as a uint64 array,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  9. test/fixedbugs/issue28079b.go

    type T [uintptr(unsafe.Pointer(nil))]int // ERROR "non-constant array bound|array bound is not constant|must be constant"
    
    func f() {
    	_ = complex(1<<uintptr(unsafe.Pointer(nil)), 0) // ERROR "shift of type float64|non-integer type for left operand of shift|must be integer"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 547 bytes
    - Viewed (0)
  10. test/fixedbugs/bug193.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	s := uint(10)
    	ss := 1 << s
    	y1 := float64(ss)
    	y2 := float64(1 << s) // ERROR "shift"
    	y3 := string(1 << s)  // ERROR "shift"
    	_, _, _, _, _ = s, ss, y1, y2, y3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 18 23:59:40 UTC 2022
    - 368 bytes
    - Viewed (0)
Back to top