- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for OpGetG (0.27 sec)
-
src/cmd/compile/internal/ssa/lower.go
continue // ok not to lower case OpMakeResult: if b.Controls[0] == v { continue } case OpGetG: if f.Config.hasGReg { // has hardware g register, regalloc takes care of it continue // ok not to lower } } s := "not lowered: " + v.String() + ", " + v.Op.String() + " " + v.Type.SimpleString()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 16 00:16:13 UTC 2023 - 1.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/regalloc_test.go
} */ c := testConfigARM64(t) f := c.Fun("b1", Bloc("b1", Valu("v1", OpInitMem, types.TypeMem, 0, nil), Valu("v6", OpArg, c.config.Types.Int64, 0, c.Temp(c.config.Types.Int64)), Valu("v8", OpGetG, c.config.Types.Int64.PtrTo(), 0, nil, "v1"), Valu("v11", OpARM64CMPconst, types.TypeFlags, 0, nil, "v6"), Eq("v11", "b2", "b4"), ), Bloc("b4", Goto("b3"), ), Bloc("b3",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:09:14 UTC 2023 - 6.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/loopreschedchecks.go
test.Pos = bb.Pos sched.Pos = bb.Pos // if sp < g.limit { goto sched } // goto header cfgtypes := &f.Config.Types pt := cfgtypes.Uintptr g := test.NewValue1(bb.Pos, OpGetG, pt, mem0) sp := test.NewValue0(bb.Pos, OpSP, pt) cmpOp := OpLess64U if pt.Size() == 4 { cmpOp = OpLess32U } limaddr := test.NewValue1I(bb.Pos, OpOffPtr, pt, 2*pt.Size(), g)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 21:17:10 UTC 2023 - 16K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/regalloc.go
} s.assignReg(register(s.f.getHome(v.Args[0].ID).(LocPair)[i].(*Register).num), v, v) } } b.Values = append(b.Values, v) s.advanceUses(v) continue } if v.Op == OpGetG && s.f.Config.hasGReg { // use hardware g register if s.regs[s.GReg].v != nil { s.freeReg(s.GReg) // kick out the old value } s.assignReg(s.GReg, v, v) b.Values = append(b.Values, v)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:49:56 UTC 2023 - 87.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
} fallthrough case ir.OCALLINTER: n := n.(*ir.CallExpr) return s.callResult(n, callNormal) case ir.OGETG: n := n.(*ir.CallExpr) return s.newValue1(ssa.OpGetG, n.Type(), s.mem()) case ir.OGETCALLERPC: n := n.(*ir.CallExpr) return s.newValue0(ssa.OpGetCallerPC, n.Type()) case ir.OGETCALLERSP: n := n.(*ir.CallExpr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite386.go
v.Op = Op386LoweredGetCallerPC return true case OpGetCallerSP: v.Op = Op386LoweredGetCallerSP return true case OpGetClosurePtr: v.Op = Op386LoweredGetClosurePtr return true case OpGetG: v.Op = Op386LoweredGetG return true case OpHmul32: v.Op = Op386HMULL return true case OpHmul32u: v.Op = Op386HMULLU return true case OpInterCall: v.Op = Op386CALLinter
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 21:05:46 UTC 2023 - 262.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteS390X.go
v.Op = OpS390XLoweredGetCallerPC return true case OpGetCallerSP: v.Op = OpS390XLoweredGetCallerSP return true case OpGetClosurePtr: v.Op = OpS390XLoweredGetClosurePtr return true case OpGetG: v.Op = OpS390XLoweredGetG return true case OpHmul32: return rewriteValueS390X_OpHmul32(v) case OpHmul32u: return rewriteValueS390X_OpHmul32u(v) case OpHmul64: v.Op = OpS390XMULHD
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 18:09:26 UTC 2023 - 395.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteAMD64.go
v.Op = OpAMD64LoweredGetCallerPC return true case OpGetCallerSP: v.Op = OpAMD64LoweredGetCallerSP return true case OpGetClosurePtr: v.Op = OpAMD64LoweredGetClosurePtr return true case OpGetG: return rewriteValueAMD64_OpGetG(v) case OpHasCPUFeature: return rewriteValueAMD64_OpHasCPUFeature(v) case OpHmul32: v.Op = OpAMD64HMULL return true case OpHmul32u: v.Op = OpAMD64HMULLU
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 712.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritegeneric.go
v_1 := v.Args[1] v_0 := v.Args[0] b := v.Block fe := b.Func.fe // match: (NilCheck ptr:(GetG mem) mem) // result: ptr for { ptr := v_0 if ptr.Op != OpGetG { break } mem := ptr.Args[0] if mem != v_1 { break } v.copyOf(ptr) return true } // match: (NilCheck ptr:(SelectN [0] call:(StaticLECall _ _)) _)
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/opGen.go
OpCvt32Fto64 OpCvt64Fto32 OpCvt64Fto64 OpCvt32Fto64F OpCvt64Fto32F OpCvtBoolToUint8 OpRound32F OpRound64F OpIsNonNil OpIsInBounds OpIsSliceInBounds OpNilCheck OpGetG OpGetClosurePtr OpGetCallerPC OpGetCallerSP OpPtrIndex OpOffPtr OpSliceMake OpSlicePtr OpSliceLen OpSliceCap OpSlicePtrUnchecked OpComplexMake OpComplexReal
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 1M bytes - Viewed (0)