Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 577 for zeroing (2.6 sec)

  1. src/runtime/mgcsweep.go

    			unlock(&mheap_.lock)
    		})
    		return false
    	}
    
    	if spc.sizeclass() != 0 {
    		// Handle spans for small objects.
    		if nfreed > 0 {
    			// Only mark the span as needing zeroing if we've freed any
    			// objects, because a fresh span that had been allocated into,
    			// wasn't totally filled, but then swept, still has all of its
    			// free slots zeroed.
    			s.needzero = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  2. test/codegen/memcombine.go

    	// ppc64le:`MOVW\s`
    	// ppc64:`MOVWBR`
    	b[(idx<<2)+3], b[(idx<<2)+2], b[(idx<<2)+1], b[(idx<<2)+0] = byte(val>>24), byte(val>>16), byte(val>>8), byte(val)
    }
    
    // ------------- //
    //    Zeroing    //
    // ------------- //
    
    // Check that zero stores are combined into larger stores
    
    func zero_byte_2(b1, b2 []byte) {
    	// bounds checks to guarantee safety of writes below
    	_, _ = b1[1], b2[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    			(MOVOstoreconst [makeValAndOff(0,16)] destptr
    				(MOVOstoreconst [makeValAndOff(0,0)] destptr mem))))
    
    // Medium zeroing uses a duff device.
    (Zero [s] destptr mem)
    	&& s > 64 && s <= 1024 && s%16 == 0 && !config.noDuffDevice =>
    	(DUFFZERO [s] destptr mem)
    
    // Large zeroing uses REP STOSQ.
    (Zero [s] destptr mem)
    	&& (s > 1024 || (config.noDuffDevice && s > 64 || !config.useSSE && s > 32))
    	&& s%8 == 0 =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/MIPS.rules

    	(MOVWstore [12] ptr (MOVWconst [0])
    		(MOVWstore [8] ptr (MOVWconst [0])
    			(MOVWstore [4] ptr (MOVWconst [0])
    				(MOVWstore [0] ptr (MOVWconst [0]) mem))))
    
    // large or unaligned zeroing uses a loop
    (Zero [s] {t} ptr mem)
    	&& (s > 16  || t.Alignment()%4 != 0) =>
    	(LoweredZero [int32(t.Alignment())]
    		ptr
    		(ADDconst <ptr.Type> ptr [int32(s-moveSize(t.Alignment(), config))])
    		mem)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 35.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/ARMOps.go

    				clobbers: buildReg("R0 R1 R2 R12 R14"), // R14 is LR, R12 is linker trampoline scratch register
    			},
    			faultOnNilArg0: true,
    			faultOnNilArg1: true,
    		},
    
    		// large or unaligned zeroing
    		// arg0 = address of memory to zero (in R1, changed as side effect)
    		// arg1 = address of the last element to zero
    		// arg2 = value to store (always zero)
    		// arg3 = mem
    		// returns mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 41K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		// large or unaligned zeroing
    		// arg0 = address of memory to zero (in R3, changed as side effect)
    		// returns mem
    		//
    		// a loop is generated when there is more than one iteration
    		// needed to clear 4 doublewords
    		//
    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/cmd/compile/internal/liveness/plive.go

    				}
    				if n.Heapaddr != nil {
    					// If this variable moved to the heap, then
    					// its stack copy is not live.
    					continue
    				}
    				// Note: zeroing is handled by zeroResults in walk.go.
    				livedefer.Set(int32(i))
    			}
    			if n.IsOutputParamHeapAddr() {
    				// This variable will be overwritten early in the function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/serving.go

    	// if Listener is set, use it and omit BindAddress/BindPort/BindNetwork.
    	Listener net.Listener
    
    	// ServerCert is the TLS cert info for serving secure traffic
    	ServerCert GeneratableKeyCert
    	// SNICertKeys are named CertKeys for serving secure traffic with SNI support.
    	SNICertKeys []cliflag.NamedCertKey
    	// CipherSuites is the list of allowed cipher suites for the server.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 13:08:18 UTC 2024
    - 15.9K bytes
    - Viewed (1)
  9. doc/asm.html

    At the start of the function, the arguments are assumed
    to be initialized but the results are assumed uninitialized.
    If the results will hold live pointers during a call instruction,
    the function should start by zeroing the results and then
    executing the pseudo-instruction <code>GO_RESULTS_INITIALIZED</code>.
    This instruction records that the results are now initialized
    and should be scanned during stack movement and garbage collection.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (1)
  10. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    	VPEXTRW $17, X20, (SP)(AX*2)      // 62e37d0815244411 or 62e3fd0815244411
    	VPEXTRW $127, X20, (SP)(AX*2)     // 62e37d081524447f or 62e3fd081524447f
    	// EVEX: embedded zeroing.
    	VADDPD.Z X30, X1, K7, X0  // 6291f58f58c6
    	VMAXPD.Z (AX), Z2, K1, Z1 // 62f1edc95f08
    	// EVEX: embedded rounding.
    	VADDPD.RU_SAE Z3, Z2, K1, Z1   // 62f1ed5958cb
    	VADDPD.RD_SAE Z3, Z2, K1, Z1   // 62f1ed3958cb
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 57.6K bytes
    - Viewed (0)
Back to top