- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for auxIntToInt64 (0.11 sec)
-
src/cmd/compile/internal/ssa/rewritedec64.go
typ := &b.Func.Config.Types // match: (Const64 <t> [c]) // cond: t.IsSigned() // result: (Int64Make (Const32 <typ.Int32> [int32(c>>32)]) (Const32 <typ.UInt32> [int32(c)])) for { t := v.Type c := auxIntToInt64(v.AuxInt) if !(t.IsSigned()) { break } v.reset(OpInt64Make) v0 := b.NewValue0(v.Pos, OpConst32, typ.Int32) v0.AuxInt = int32ToAuxInt(int32(c >> 32))
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/rewrite.go
return true } func auxIntToInt8(i int64) int8 { return int8(i) } func auxIntToInt16(i int64) int16 { return int16(i) } func auxIntToInt32(i int64) int32 { return int32(i) } func auxIntToInt64(i int64) int64 { return i } func auxIntToUint8(i int64) uint8 { return uint8(i) } func auxIntToFloat32(i int64) float32 { return float32(math.Float64frombits(uint64(i))) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0)