Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for OpStore (0.15 sec)

  1. src/cmd/compile/internal/ssa/deadstore_test.go

    			Valu("store1", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr1", "v", "zero1"),
    			Valu("store2", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr2", "v", "store1"),
    			Valu("store3", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr1", "v", "store2"),
    			Valu("store4", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr3", "v", "store3"),
    			Goto("exit")),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritedec.go

    		}
    		imag := v_1.Args[1]
    		real := v_1.Args[0]
    		mem := v_2
    		if !(t.Size() == 8) {
    			break
    		}
    		v.reset(OpStore)
    		v.Aux = typeToAux(typ.Float32)
    		v0 := b.NewValue0(v.Pos, OpOffPtr, typ.Float32Ptr)
    		v0.AuxInt = int64ToAuxInt(4)
    		v0.AddArg(dst)
    		v1 := b.NewValue0(v.Pos, OpStore, types.TypeMem)
    		v1.Aux = typeToAux(typ.Float32)
    		v1.AddArg3(dst, real, mem)
    		v.AddArg3(v0, imag, v1)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/writebarrier_test.go

    			Valu("sp", OpSP, c.config.Types.Uintptr, 0, nil),
    			Valu("v", OpConstNil, ptrType, 0, nil),
    			Valu("addr1", OpAddr, ptrType, 0, nil, "sb"),
    			Valu("wb2", OpStore, types.TypeMem, 0, ptrType, "addr1", "v", "wb1"),
    			Valu("wb1", OpStore, types.TypeMem, 0, ptrType, "addr1", "v", "start"), // wb1 and wb2 are out of order
    			Goto("exit")),
    		Bloc("exit",
    			Exit("wb2")))
    
    	CheckFunc(fun.f)
    	writebarrier(fun.f)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 24 15:51:15 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/passbm_test.go

    				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)),
    			Valu(valn("store", i, 2), OpStore, types.TypeMem, 0, elemType, valn("addr", i, 2),
    				valn("v", i, 0), valn("store", i, 1)),
    			Valu(valn("store", i, 3), OpStore, types.TypeMem, 0, elemType, valn("addr", i, 1),
    				valn("v", i, 0), valn("store", i, 2)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/shift_test.go

    			Valu("load", OpLoad, typ, 0, nil, "argptr", "mem"),
    			Valu("c", OpConst64, c.config.Types.UInt64, amount, nil),
    			Valu("shift", op, typ, 0, nil, "load", "c"),
    			Valu("store", OpStore, types.TypeMem, 0, c.config.Types.UInt64, "resptr", "shift", "mem"),
    			Exit("store")))
    	Compile(fun.f)
    	return fun
    }
    
    func TestShiftToExtensionAMD64(t *testing.T) {
    	c := testConfig(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/schedule_test.go

    				Valu("ptr", OpConst64, c.config.Types.Int64, 0xABCD, nil),
    				Valu("v", OpConst64, c.config.Types.Int64, 12, nil),
    				Valu("mem1", OpStore, types.TypeMem, 0, c.config.Types.Int64, "ptr", "v", "mem0"),
    				Valu("mem2", OpStore, types.TypeMem, 0, c.config.Types.Int64, "ptr", "v", "mem1"),
    				Valu("mem3", OpStore, types.TypeMem, 0, c.config.Types.Int64, "ptr", "sum", "mem2"),
    				Valu("l1", OpLoad, c.config.Types.Int64, 0, nil, "ptr", "mem1"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 08 01:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/cse_test.go

    			Valu("r3", OpAdd64, c.config.Types.Int64, 0, nil, "arg1", "arg2"),
    			Valu("r5", OpAdd64, c.config.Types.Int64, 0, nil, "r2", "r3"),
    			Valu("r10", OpAdd64, c.config.Types.Int64, 0, nil, "r6", "r9"),
    			Valu("rstore", OpStore, types.TypeMem, 0, c.config.Types.Int64, "raddr", "r10", "raddrdef"),
    			Goto("exit")),
    		Bloc("exit",
    			Exit("rstore")))
    
    	CheckFunc(fun.f)
    	cse(fun.f)
    	deadcode(fun.f)
    	CheckFunc(fun.f)
    
    	s1Cnt := 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/writebarrier.go

    		nWBops := 0 // count of temporarily created WB ops remaining to be rewritten in the current block
    		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++
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  9. src/sync/map_test.go

    import (
    	"internal/testenv"
    	"math/rand"
    	"reflect"
    	"runtime"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"testing/quick"
    )
    
    type mapOp string
    
    const (
    	opLoad             = mapOp("Load")
    	opStore            = mapOp("Store")
    	opLoadOrStore      = mapOp("LoadOrStore")
    	opLoadAndDelete    = mapOp("LoadAndDelete")
    	opDelete           = mapOp("Delete")
    	opSwap             = mapOp("Swap")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/branchelim_test.go

    					If("cond", "b2", "b3")),
    				Bloc("b2",
    					Goto("b3")),
    				Bloc("b3",
    					Valu("phi", OpPhi, intType, 0, nil, "const1", "const2"),
    					Valu("retstore", OpStore, types.TypeMem, 0, nil, "phi", "sb", "start"),
    					Exit("retstore")))
    
    			CheckFunc(fun.f)
    			branchelim(fun.f)
    			CheckFunc(fun.f)
    			Deadcode(fun.f)
    			CheckFunc(fun.f)
    
    			if data.ok {
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 24 15:51:15 UTC 2018
    - 5.2K bytes
    - Viewed (0)
Back to top