Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 229 for opload (0.13 sec)

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

    			Valu("SP", OpSP, c.config.Types.Uintptr, 0, nil),
    			Valu("argptr", OpOffPtr, ptyp, 8, nil, "SP"),
    			Valu("resptr", OpOffPtr, ptyp, 16, nil, "SP"),
    			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
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 4K bytes
    - Viewed (0)
  2. test/fixedbugs/issue42727.go

    // compile
    
    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Ensure that late expansion correctly handles an OpLoad with type interface{}
    
    package p
    
    type iface interface {
    	m()
    }
    
    type it interface{}
    
    type makeIface func() iface
    
    func f() {
    	var im makeIface
    	e := im().(it)
    	_ = &e
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 20 17:31:50 UTC 2020
    - 400 bytes
    - Viewed (0)
  3. test/fixedbugs/issue42784.go

    // compile
    
    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Ensure that late expansion correctly set OpLoad argument type interface{}
    
    package p
    
    type iface interface {
    	m()
    }
    
    type it interface{}
    
    type makeIface func() iface
    
    func f() {
    	var im makeIface
    	e := im().(it)
    	g(e)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 24 03:06:15 UTC 2020
    - 426 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/branchelim_test.go

    					Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    					Valu("const1", OpConst32, intType, 1, nil),
    					Valu("const2", OpConst32, intType, 2, nil),
    					Valu("addr", OpAddr, boolType.PtrTo(), 0, nil, "sb"),
    					Valu("cond", OpLoad, boolType, 0, nil, "addr", "start"),
    					If("cond", "b2", "b3")),
    				Bloc("b2",
    					Goto("b3")),
    				Bloc("b3",
    					Valu("phi", OpPhi, intType, 0, nil, "const1", "const2"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 24 15:51:15 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/cse_test.go

    			Valu("addr1", OpAddr, c.config.Types.Int64.PtrTo(), 0, nil, "sb1"),
    			Valu("addr2", OpAddr, c.config.Types.Int64.PtrTo(), 0, nil, "sb2"),
    			Valu("a1ld", OpLoad, c.config.Types.Int64, 0, nil, "addr1", "start"),
    			Valu("a2ld", OpLoad, c.config.Types.Int64, 0, nil, "addr2", "start"),
    			Valu("c1", OpConst64, c.config.Types.Int64, 1, nil),
    			Valu("r1", OpAdd64, c.config.Types.Int64, 0, nil, "a1ld", "c1"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/schedule_test.go

    				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"),
    				Valu("l2", OpLoad, c.config.Types.Int64, 0, nil, "ptr", "mem2"),
    				Valu("sum", OpAdd64, c.config.Types.Int64, 0, nil, "l1", "l2"),
    				Goto("exit")),
    			Bloc("exit",
    				Exit("mem3"))),
    	}
    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/softfloat.go

    	if !f.Config.SoftFloat {
    		return
    	}
    	newInt64 := false
    
    	for _, b := range f.Blocks {
    		for _, v := range b.Values {
    			if v.Type.IsFloat() {
    				f.unCache(v)
    				switch v.Op {
    				case OpPhi, OpLoad, OpArg:
    					if v.Type.Size() == 4 {
    						v.Type = f.Config.Types.UInt32
    					} else {
    						v.Type = f.Config.Types.UInt64
    					}
    				case OpConst32F:
    					v.Op = OpConst32
    					v.Type = f.Config.Types.UInt32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 16:14:24 UTC 2021
    - 2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/fuse_test.go

    	fun := c.Fun("entry",
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    			Goto("checkPtr")),
    		Bloc("checkPtr",
    			Valu("ptr1", OpLoad, ptrType, 0, nil, "sb", "mem"),
    			Valu("nilptr", OpConstNil, ptrType, 0, nil),
    			Valu("bool1", OpNeqPtr, c.config.Types.Bool, 0, nil, "ptr1", "nilptr"),
    			If("bool1", "then", "exit")),
    		Bloc("then",
    			Goto("exit")),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. src/sync/map_test.go

    )
    
    var mapOps = [...]mapOp{
    	opLoad,
    	opStore,
    	opLoadOrStore,
    	opLoadAndDelete,
    	opDelete,
    	opSwap,
    	opCompareAndSwap,
    	opCompareAndDelete,
    	opClear,
    }
    
    // mapCall is a quick.Generator for calls on mapInterface.
    type mapCall struct {
    	op   mapOp
    	k, v any
    }
    
    func (c mapCall) apply(m mapInterface) (any, bool) {
    	switch c.op {
    	case opLoad:
    		return m.Load(c.k)
    	case opStore:
    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. ci/official/upload.sh

    DOWNLOADS="$(mktemp -d)"
    mkdir -p "$DOWNLOADS"
    gsutil -m rsync -r "$TFCI_ARTIFACT_STAGING_GCS_URI" "$DOWNLOADS"
    ls "$DOWNLOADS"
    
    # Upload all build artifacts to e.g. gs://tensorflow/versions/2.16.0-rc1 (releases) or
    # gs://tensorflow/nightly/2.16.0-dev20240105 (nightly), overwriting previous values.
    if [[ "$TFCI_ARTIFACT_FINAL_GCS_ENABLE" == 1 ]]; then
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 20:52:12 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top