- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 139 for auxint (0.25 sec)
-
src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 14:57:07 UTC 2024 - 30.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteARM64latelower.go
// match: (ADDSconstflags [c] x) // cond: !isARM64addcon(c) // result: (ADDSflags x (MOVDconst [c])) for { c := auxIntToInt64(v.AuxInt) x := v_0 if !(!isARM64addcon(c)) { break } v.reset(OpARM64ADDSflags) v0 := b.NewValue0(v.Pos, OpARM64MOVDconst, typ.UInt64) v0.AuxInt = int64ToAuxInt(c) v.AddArg2(x, v0) return true } return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 19.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/softfloat.go
v.Type = f.Config.Types.UInt32 v.AuxInt = int64(int32(math.Float32bits(auxTo32F(v.AuxInt)))) case OpConst64F: v.Op = OpConst64 v.Type = f.Config.Types.UInt64 case OpNeg32F: arg0 := v.Args[0] v.reset(OpXor32) v.Type = f.Config.Types.UInt32 v.AddArg(arg0) mask := v.Block.NewValue0(v.Pos, OpConst32, v.Type) mask.AuxInt = -0x80000000 v.AddArg(mask) case OpNeg64F:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 03 16:14:24 UTC 2021 - 2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/func_test.go
f.f.freeValue(v1) f.f.freeValue(v2) v3 := f.f.ConstBool(c.config.Types.Bool, false) v4 := f.f.ConstBool(c.config.Types.Bool, true) if v3.AuxInt != 0 { t.Errorf("expected %s to have auxint of 0\n", v3.LongString()) } if v4.AuxInt != 1 { t.Errorf("expected %s to have auxint of 1\n", v4.LongString()) } } // opcodeMap returns a map from opcode to the number of times that opcode // appears in the function.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:01:04 UTC 2023 - 13.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/genericOps.go
// constants. Constant values are stored in the aux or // auxint fields. {name: "ConstBool", aux: "Bool"}, // auxint is 0 for false and 1 for true {name: "ConstString", aux: "String"}, // value is aux.(string) {name: "ConstNil", typ: "BytePtr"}, // nil pointer {name: "Const8", aux: "Int8"}, // auxint is sign-extended 8 bits {name: "Const16", aux: "Int16"}, // auxint is sign-extended 16 bits
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/prove.go
old, ok := ft.limits[v.ID] if !ok { old = noLimit if v.isGenericIntConst() { switch d { case signed: old.min, old.max = v.AuxInt, v.AuxInt if v.AuxInt >= 0 { old.umin, old.umax = uint64(v.AuxInt), uint64(v.AuxInt) } case unsigned: old.umin = v.AuxUnsigned() old.umax = old.umin if int64(old.umin) >= 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:30:21 UTC 2024 - 48.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
func DecodePPC64RotateMask(sauxint int64) (rotate, mb, me int64, mask uint64) { auxint := uint64(sauxint) rotate = int64((auxint >> 16) & 0xFF) mb = int64((auxint >> 8) & 0xFF) me = int64((auxint >> 0) & 0xFF) nbits := int64((auxint >> 24) & 0xFF) mask = ((1 << uint(nbits-mb)) - 1) ^ ((1 << uint(nbits-me)) - 1) if mb > me { mask = ^mask } if nbits == 32 {
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/x86/ssa.go
a := v.Args[0].Reg() if r == a { if v.AuxInt == 1 { p := s.Prog(x86.AINCL) p.To.Type = obj.TYPE_REG p.To.Reg = r return } if v.AuxInt == -1 { p := s.Prog(x86.ADECL) p.To.Type = obj.TYPE_REG p.To.Reg = r return } p := s.Prog(v.Op.Asm()) p.From.Type = obj.TYPE_CONST p.From.Offset = v.AuxInt p.To.Type = obj.TYPE_REG p.To.Reg = r
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 01:26:58 UTC 2023 - 26.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/WasmOps.go
{name: "LoweredInterCall", argLength: 2, reg: regInfo{inputs: []regMask{gp}, clobbers: callerSave}, aux: "CallOff", call: true}, // call fn by pointer. arg0=codeptr, arg1=mem, auxint=argsize, returns mem {name: "LoweredAddr", argLength: 1, reg: gp11, aux: "SymOff", rematerializeable: true, symEffect: "Addr"}, // returns base+aux+auxint, arg0=base
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 00:21:13 UTC 2023 - 17.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/block.go
func (b *Block) AuxIntString() string { switch b.Kind.AuxIntType() { case "int8": return fmt.Sprintf("%v", int8(b.AuxInt)) case "uint8": return fmt.Sprintf("%v", uint8(b.AuxInt)) case "": // no aux int type return "" default: // type specified but not implemented - print as int64 return fmt.Sprintf("%v", b.AuxInt) } } // likelyBranch reports whether block b is the likely branch of all of its predecessors.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 12.2K bytes - Viewed (0)