- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for Neg64 (0.18 sec)
-
test/fixedbugs/issue27718.go
inf := 1.0 / zero negZero := -1 / inf if 1/sub64(negZero) != -inf { panic("negZero-0 != negZero (64 bit)") } } //go:noinline func neg64(x float64) float64 { return -x } func testNeg64() { var zero float64 inf := 1.0 / zero negZero := -1 / inf if 1/neg64(negZero) != inf { panic("-negZero != posZero (64 bit)") } } //go:noinline func add32(x float32) float32 { return x + 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 28 02:29:42 UTC 2019 - 1.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/RISCV64.rules
(Lsh64x8 <t> x y) && !shiftIsBounded(v) => (AND (SLL <t> x y) (Neg64 <t> (SLTIU <t> [64] (ZeroExt8to64 y)))) (Lsh64x16 <t> x y) && !shiftIsBounded(v) => (AND (SLL <t> x y) (Neg64 <t> (SLTIU <t> [64] (ZeroExt16to64 y)))) (Lsh64x32 <t> x y) && !shiftIsBounded(v) => (AND (SLL <t> x y) (Neg64 <t> (SLTIU <t> [64] (ZeroExt32to64 y)))) (Lsh64x64 <t> x y) && !shiftIsBounded(v) => (AND (SLL <t> x y) (Neg64 <t> (SLTIU <t> [64] y)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 14:57:07 UTC 2024 - 40.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/dec64.rules
(Or32 <typ.UInt32> (Int64Lo x) (Int64Lo y))) (Xor64 x y) => (Int64Make (Xor32 <typ.UInt32> (Int64Hi x) (Int64Hi y)) (Xor32 <typ.UInt32> (Int64Lo x) (Int64Lo y))) (Neg64 <t> x) => (Sub64 (Const64 <t> [0]) x) (Com64 x) => (Int64Make (Com32 <typ.UInt32> (Int64Hi x)) (Com32 <typ.UInt32> (Int64Lo x))) // Sadly, just because we know that x is non-zero,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 04 19:35:46 UTC 2022 - 14.2K bytes - Viewed (0) -
src/runtime/softfloat64.go
expbits64 uint = 11 bias64 = -1<<(expbits64-1) + 1 nan64 uint64 = (1<<expbits64-1)<<mantbits64 + 1<<(mantbits64-1) // quiet NaN, 0 payload inf64 uint64 = (1<<expbits64 - 1) << mantbits64 neg64 uint64 = 1 << (expbits64 + mantbits64) mantbits32 uint = 23 expbits32 uint = 8 bias32 = -1<<(expbits32-1) + 1 nan32 uint32 = (1<<expbits32-1)<<mantbits32 + 1<<(mantbits32-1) // quiet NaN, 0 payload
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 08 17:58:41 UTC 2021 - 11.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteRISCV64.go
v_1 := v.Args[1] v_0 := v.Args[0] b := v.Block typ := &b.Func.Config.Types // match: (Lsh64x16 <t> x y) // cond: !shiftIsBounded(v) // result: (AND (SLL <t> x y) (Neg64 <t> (SLTIU <t> [64] (ZeroExt16to64 y)))) for { t := v.Type x := v_0 y := v_1 if !(!shiftIsBounded(v)) { break } v.reset(OpRISCV64AND)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 14:57:07 UTC 2024 - 205.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/generic.rules
(SignExt32to64 (Const32 [c])) => (Const64 [int64(c)]) (Neg8 (Const8 [c])) => (Const8 [-c]) (Neg16 (Const16 [c])) => (Const16 [-c]) (Neg32 (Const32 [c])) => (Const32 [-c]) (Neg64 (Const64 [c])) => (Const64 [-c]) (Neg32F (Const32F [c])) && c != 0 => (Const32F [-c]) (Neg64F (Const64F [c])) && c != 0 => (Const64F [-c]) (Add8 (Const8 [c]) (Const8 [d])) => (Const8 [c+d])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 22:21:05 UTC 2024 - 135.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritegeneric.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:24:47 UTC 2024 - 812.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/genericOps.go
{name: "Not", argLength: 1, typ: "Bool"}, // !arg0, boolean // 1-input ops {name: "Neg8", argLength: 1}, // -arg0 {name: "Neg16", argLength: 1}, {name: "Neg32", argLength: 1}, {name: "Neg64", argLength: 1}, {name: "Neg32F", argLength: 1}, {name: "Neg64F", argLength: 1}, {name: "Com8", argLength: 1}, // ^arg0 {name: "Com16", argLength: 1}, {name: "Com32", argLength: 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) -
src/cmd/compile/internal/ssa/rewritedec64.go
v10.AddArg(v9) v.AddArg2(v0, v10) return true } } func rewriteValuedec64_OpNeg64(v *Value) bool { v_0 := v.Args[0] b := v.Block // match: (Neg64 <t> x) // result: (Sub64 (Const64 <t> [0]) x) for { t := v.Type x := v_0 v.reset(OpSub64) v0 := b.NewValue0(v.Pos, OpConst64, t) v0.AuxInt = int64ToAuxInt(0) v.AddArg2(v0, x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 22:42:34 UTC 2023 - 65.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/S390X.rules
(And64 ...) => (AND ...) (And(32|16|8) ...) => (ANDW ...) (Or64 ...) => (OR ...) (Or(32|16|8) ...) => (ORW ...) (Xor64 ...) => (XOR ...) (Xor(32|16|8) ...) => (XORW ...) (Neg64 ...) => (NEG ...) (Neg(32|16|8) ...) => (NEGW ...) (Neg32F ...) => (FNEGS ...) (Neg64F ...) => (FNEG ...) (Com64 ...) => (NOT ...) (Com(32|16|8) ...) => (NOTW ...) (NOT x) => (XOR (MOVDconst [-1]) x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 18:09:26 UTC 2023 - 74.3K bytes - Viewed (0)