Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for UnsafePoint (0.17 sec)

  1. src/cmd/compile/internal/ssa/_gen/MIPSOps.go

    		{name: "LoweredAtomicAdd", argLength: 3, reg: gpxchg, resultNotInArgs: true, faultOnNilArg0: true, hasSideEffects: true, unsafePoint: true},
    		{name: "LoweredAtomicAddconst", argLength: 2, reg: regInfo{inputs: []regMask{gpspsbg}, outputs: []regMask{gp}}, aux: "Int32", resultNotInArgs: true, faultOnNilArg0: true, hasSideEffects: true, unsafePoint: true},
    
    		// atomic compare and swap.
    		// arg0 = pointer, arg1 = old value, arg2 = new value, arg3 = memory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 24K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/MIPS64Ops.go

    		// BEQ	Rtmp, -3(PC)
    		// SYNC
    		{name: "LoweredAtomicAnd32", argLength: 3, reg: gpstore, asm: "AND", faultOnNilArg0: true, hasSideEffects: true, unsafePoint: true},
    		{name: "LoweredAtomicOr32", argLength: 3, reg: gpstore, asm: "OR", faultOnNilArg0: true, hasSideEffects: true, unsafePoint: true},
    
    		// atomic loads.
    		// load from arg0. arg1=mem.
    		// returns <value,memory> so they can be properly ordered with other loads.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 03:36:31 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go

    		// DBAR
    		{name: "LoweredAtomicExchange32", argLength: 3, reg: gpxchg, resultNotInArgs: true, faultOnNilArg0: true, hasSideEffects: true, unsafePoint: true},
    		{name: "LoweredAtomicExchange64", argLength: 3, reg: gpxchg, resultNotInArgs: true, faultOnNilArg0: true, hasSideEffects: true, unsafePoint: true},
    
    		// atomic add.
    		// *arg0 += arg1. arg2=mem. returns <new content of *arg0, memory>.
    		// DBAR
    		// LL	(Rarg0), Rout
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:19 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/main.go

    				}
    			}
    			if v.hasSideEffects {
    				fmt.Fprintln(w, "hasSideEffects: true,")
    			}
    			if v.zeroWidth {
    				fmt.Fprintln(w, "zeroWidth: true,")
    			}
    			if v.unsafePoint {
    				fmt.Fprintln(w, "unsafePoint: true,")
    			}
    			needEffect := strings.HasPrefix(v.aux, "Sym")
    			if v.symEffect != "" {
    				if !needEffect {
    					log.Fatalf("symEffect with aux %s not allowed", v.aux)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    			},
    			clobberFlags:   true,
    			typ:            "Mem",
    			faultOnNilArg0: true,
    			unsafePoint:    true,
    		},
    		{
    			name:      "LoweredZeroShort",
    			aux:       "Int64",
    			argLength: 2,
    			reg: regInfo{
    				inputs: []regMask{gp}},
    			typ:            "Mem",
    			faultOnNilArg0: true,
    			unsafePoint:    true,
    		},
    		{
    			name:      "LoweredQuadZeroShort",
    			aux:       "Int64",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go

    		{name: "LoweredAtomicAdd32", argLength: 3, reg: gpxchg, resultNotInArgs: true, faultOnNilArg0: true, hasSideEffects: true, unsafePoint: true},
    		{name: "LoweredAtomicAdd64", argLength: 3, reg: gpxchg, resultNotInArgs: true, faultOnNilArg0: true, hasSideEffects: true, unsafePoint: true},
    
    		// Atomic compare and swap.
    		// arg0 = pointer, arg1 = old value, arg2 = new value, arg3 = memory.
    		// if *arg0 == arg1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/op.go

    	zeroWidth         bool      // op never translates into any machine code. example: copy, which may sometimes translate to machine code, is not zero-width.
    	unsafePoint       bool      // this op is an unsafe point, i.e. not safe for async preemption
    	symEffect         SymEffect // effect this op has on symbol in aux
    	scale             uint8     // amd64/386 indexed load scale
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. src/runtime/export_test.go

    func GetPinnerLeakPanic() func() {
    	return pinnerLeakPanic
    }
    
    var testUintptr uintptr
    
    func MyGenericFunc[T any]() {
    	systemstack(func() {
    		testUintptr = 4
    	})
    }
    
    func UnsafePoint(pc uintptr) bool {
    	fi := findfunc(pc)
    	v := pcdatavalue(fi, abi.PCDATA_UnsafePoint, pc)
    	switch v {
    	case abi.UnsafePointUnsafe:
    		return true
    	case abi.UnsafePointSafe:
    		return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/liveness/plive.go

    	lv.unsafeBlocks = bitvec.New(int32(lv.f.NumBlocks()))
    
    	// Mark architecture-specific unsafe points.
    	for _, b := range lv.f.Blocks {
    		for _, v := range b.Values {
    			if v.Op.UnsafePoint() {
    				lv.unsafePoints.Set(int32(v.ID))
    			}
    		}
    	}
    
    	for _, b := range lv.f.Blocks {
    		for _, v := range b.Values {
    			if v.Op != ssa.OpWBend {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top