Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for UnsafePoint (0.21 sec)

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

    		{name: "LoweredAtomicOr8", argLength: 3, reg: gpxchg, resultNotInArgs: true, asm: "ORR", faultOnNilArg0: true, hasSideEffects: true, unsafePoint: true, needIntTemp: true},
    		{name: "LoweredAtomicAnd64", argLength: 3, reg: gpxchg, resultNotInArgs: true, asm: "AND", faultOnNilArg0: true, hasSideEffects: true, unsafePoint: true, needIntTemp: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/runtime/unsafepoint_test.go

    		if entry == 0 {
    			entry = pc
    		}
    		// Note that some platforms do ASLR, so the PCs in the disassembly
    		// don't match PCs in the address space. Only offsets from function
    		// entry make sense.
    		unsafe := runtime.UnsafePoint(f.Entry() + uintptr(pc-entry))
    		t.Logf("unsafe: %v\n", unsafe)
    		instructionCount++
    		if unsafe {
    			unsafeCount++
    		}
    
    		// All the instructions inside the write barrier must be unpreemptible.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 20:24:56 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/compile/internal/ssa/opGen.go

    		clobberFlags:   true,
    		faultOnNilArg0: true,
    		unsafePoint:    true,
    		reg: regInfo{
    			inputs: []inputInfo{
    				{0, 1048576}, // R20
    			},
    			clobbers: 1048576, // R20
    		},
    	},
    	{
    		name:           "LoweredZeroShort",
    		auxType:        auxInt64,
    		argLen:         2,
    		faultOnNilArg0: true,
    		unsafePoint:    true,
    		reg: regInfo{
    			inputs: []inputInfo{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
  10. 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)
Back to top