- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for OpZero (0.21 sec)
-
src/cmd/compile/internal/ssa/softfloat.go
v.Type = f.Config.Types.UInt32 case OpRound64F: v.Op = OpCopy v.Type = f.Config.Types.UInt64 } newInt64 = newInt64 || v.Type.Size() == 8 } else if (v.Op == OpStore || v.Op == OpZero || v.Op == OpMove) && v.Aux.(*types.Type).IsFloat() { switch size := v.Aux.(*types.Type).Size(); size { case 4: v.Aux = f.Config.Types.UInt32 case 8: v.Aux = f.Config.Types.UInt64
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/deadstore.go
shadowed.clear() } if v.Op == OpStore || v.Op == OpZero { ptr := v.Args[0] var off int64 for ptr.Op == OpOffPtr { // Walk to base pointer off += ptr.AuxInt ptr = ptr.Args[0] } var sz int64 if v.Op == OpStore { sz = v.Aux.(*types.Type).Size() } else { // OpZero sz = v.AuxInt } if ptr.Op == OpLocalAddr {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 20:07:26 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/passbm_test.go
Valu(valn("addr", i, 1), OpAddr, ptrType, 0, nil, "sb"), Valu(valn("addr", i, 2), OpAddr, ptrType, 0, nil, "sb"), Valu(valn("addr", i, 3), OpAddr, ptrType, 0, nil, "sb"), Valu(valn("zero", i, 1), OpZero, types.TypeMem, 8, elemType, valn("addr", i, 3), valn("store", i-1, 4)), Valu(valn("store", i, 1), OpStore, types.TypeMem, 0, elemType, valn("addr", i, 1), valn("v", i, 0), valn("zero", i, 1)),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/writebarrier.go
for _, v := range b.Values { switch v.Op { case OpStore, OpMove, OpZero: if needwb(v, zeroes) { switch v.Op { case OpStore: v.Op = OpStoreWB case OpMove: v.Op = OpMoveWB case OpZero: v.Op = OpZeroWB } nWBops++ } } } if nWBops == 0 { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:09:14 UTC 2023 - 23.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/deadstore_test.go
Valu("v", OpConstBool, c.config.Types.Bool, 1, nil), Valu("addr1", OpAddr, ptrType, 0, nil, "sb"), Valu("addr2", OpAddr, ptrType, 0, nil, "sb"), Valu("addr3", OpAddr, ptrType, 0, nil, "sb"), Valu("zero1", OpZero, types.TypeMem, 1, c.config.Types.Bool, "addr3", "start"), Valu("store1", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr1", "v", "zero1"),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 20:07:26 UTC 2024 - 5.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritegeneric.go
t := auxToType(v.Aux) dst1 := v_0 src := v_1 mem := v_2 if mem.Op != OpZero || auxIntToInt64(mem.AuxInt) != n || auxToType(mem.Aux) != t { break } dst2 := mem.Args[0] if !(isSamePtr(src, dst2)) { break } v.reset(OpZero) v.AuxInt = int64ToAuxInt(n) v.Aux = typeToAux(t) v.AddArg2(dst1, mem) return true }
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/rewriteWasm.go
return true case OpXor32: v.Op = OpWasmI64Xor return true case OpXor64: v.Op = OpWasmI64Xor return true case OpXor8: v.Op = OpWasmI64Xor return true case OpZero: return rewriteValueWasm_OpZero(v) case OpZeroExt16to32: return rewriteValueWasm_OpZeroExt16to32(v) case OpZeroExt16to64: return rewriteValueWasm_OpZeroExt16to64(v) case OpZeroExt32to64:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 03:56:57 UTC 2023 - 108.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteARM64.go
ptr := v_0 mem := v_1 if !(s%16 != 0 && s%16 <= 8 && s > 16) { break } v.reset(OpZero) v.AuxInt = int64ToAuxInt(8) v0 := b.NewValue0(v.Pos, OpOffPtr, ptr.Type) v0.AuxInt = int64ToAuxInt(s - 8) v0.AddArg(ptr) v1 := b.NewValue0(v.Pos, OpZero, types.TypeMem) v1.AuxInt = int64ToAuxInt(s - s%16) v1.AddArg2(ptr, mem) v.AddArg2(v0, v1) return true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 608.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
s.vars[memVar] = s.newValue3A(ssa.OpStore, types.TypeMem, t, dst, val, s.mem()) } func (s *state) zero(t *types.Type, dst *ssa.Value) { s.instrument(t, dst, instrumentWrite) store := s.newValue2I(ssa.OpZero, types.TypeMem, t.Size(), dst, s.mem()) store.Aux = t s.vars[memVar] = store } func (s *state) move(t *types.Type, dst, src *ssa.Value) { s.moveWhichMayOverlap(t, dst, src, false) }
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 = Op386LoweredWB return true case OpXor16: v.Op = Op386XORL return true case OpXor32: v.Op = Op386XORL return true case OpXor8: v.Op = Op386XORL return true case OpZero: return rewriteValue386_OpZero(v) case OpZeroExt16to32: v.Op = Op386MOVWLZX return true case OpZeroExt8to16: v.Op = Op386MOVBLZX return true case OpZeroExt8to32: v.Op = Op386MOVBLZX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 21:05:46 UTC 2023 - 262.4K bytes - Viewed (0)