- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 50 for Shift3 (0.32 sec)
-
src/cmd/compile/internal/ssa/rewrite.go
} func newPPC64ShiftAuxInt(sh, mb, me, sz int64) int32 { if sh < 0 || sh >= sz { panic("PPC64 shift arg sh out of range") } if mb < 0 || mb >= sz { panic("PPC64 shift arg mb out of range") } if me < 0 || me >= sz { panic("PPC64 shift arg me out of range") } return int32(sh<<16 | mb<<8 | me) } func GetPPC64Shiftsh(auxint int64) int64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/ARM.rules
(AndB ...) => (AND ...) (OrB ...) => (OR ...) (EqB x y) => (XORconst [1] (XOR <typ.Bool> x y)) (NeqB ...) => (XOR ...) (Not x) => (XORconst [1] x) // shifts // hardware instruction uses only the low byte of the shift // we compare to 256 to ensure Go semantics for large shifts (Lsh32x32 x y) => (CMOVWHSconst (SLL <x.Type> x y) (CMPconst [256] y) [0])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 17:19:36 UTC 2023 - 90.1K bytes - Viewed (0) -
src/math/big/int_test.go
out := new(Int).Lsh(in, test.shift) out = out.Rsh(out, test.shift) if !isNormalized(out) { t.Errorf("#%d: %v is not normalized", i, *out) } if in.Cmp(out) != 0 { t.Errorf("#%d: got %s want %s", i, out, in) } } for i, test := range lshTests { in, _ := new(Int).SetString(test.in, 10) out := new(Int).Lsh(in, test.shift) out.Rsh(out, test.shift)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
src/cmd/internal/obj/riscv/obj.go
sllOp, srlOp = ASLLW, ASRLW } shift1, shift2 := sllOp, srlOp if ins.as == AROR || ins.as == ARORW { shift1, shift2 = shift2, shift1 } return []*instruction{ &instruction{as: ASUB, rs1: REG_ZERO, rs2: ins.rs2, rd: REG_TMP}, &instruction{as: shift2, rs1: ins.rs1, rs2: REG_TMP, rd: REG_TMP}, &instruction{as: shift1, rs1: ins.rs1, rs2: ins.rs2, rd: ins.rd},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 07 03:32:27 UTC 2024 - 77K bytes - Viewed (0) -
src/cmd/compile/internal/ppc64/ssa.go
case ssa.OpPPC64CLRLSLWI: r := v.Reg() r1 := v.Args[0].Reg() shifts := v.AuxInt p := s.Prog(v.Op.Asm()) // clrlslwi ra,rs,mb,sh will become rlwinm ra,rs,sh,mb-sh,31-sh as described in ISA p.From = obj.Addr{Type: obj.TYPE_CONST, Offset: ssa.GetPPC64Shiftmb(shifts)} p.AddRestSourceConst(ssa.GetPPC64Shiftsh(shifts)) p.Reg = r1 p.To.Type = obj.TYPE_REG p.To.Reg = r case ssa.OpPPC64CLRLSLDI:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 55.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir
} func.func @roll_scalar_axis(%arg0: tensor<3x8x4xi32>) -> tensor<3x8x4xi32> { %axis = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32> %shift = "tf.Const"() {value = dense<2> : tensor<i32>} : () -> tensor<i32> %0 = "tf.Roll"(%arg0, %shift, %axis) : (tensor<3x8x4xi32>, tensor<i32>, tensor<i32>) -> tensor<3x8x4xi32> func.return %0 : tensor<3x8x4xi32> // CHECK-LABEL: roll_scalar_axis
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 05 18:35:42 UTC 2024 - 92K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go
if !w.Exited() { return -1 } return int(w>>shift) & 0xFF } func (w WaitStatus) Signal() syscall.Signal { if !w.Signaled() { return -1 } return syscall.Signal(w & mask) } func (w WaitStatus) StopSignal() syscall.Signal { if !w.Stopped() { return -1 } return syscall.Signal(w>>shift) & 0xFF } func (w WaitStatus) TrapCause() int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 05:26:45 UTC 2024 - 77.5K bytes - Viewed (0) -
src/runtime/traceback.go
} print1 := func(off, sz, slotIdx uint8) { x := readUnaligned64(add(argp, uintptr(off))) // mask out irrelevant bits if sz < 8 { shift := 64 - sz*8 if goarch.BigEndian { x = x >> shift } else { x = x << shift >> shift } } print(hex(x)) if !isLive(off, slotIdx) { print("?") } } start := true printcomma := func() { if !start {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc
op, "require the type of input to have static shapes"); } DenseIntElementsAttr shift_attr; Value shift = tf_roll_op.getShift(); auto shift_ranked_attr_type = mlir::dyn_cast<RankedTensorType>(shift.getType()); if (!shift_ranked_attr_type || !matchPattern(shift, m_Constant(&shift_attr))) { return failure(); } DenseIntElementsAttr axis_attr;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 74.9K bytes - Viewed (0) -
src/time/time.go
// AddDate arguments can produce a different shift in absolute time depending on // the base Time value and its Location. For example, AddDate(0, 0, 1) applied // to 12:00 on March 27 always returns 12:00 on March 28. At some locations and // in some years this is a 24 hour shift. In others it's a 23 hour shift due to // daylight savings time transitions. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0)