Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Or8 (0.02 sec)

  1. src/runtime/mgcmark.go

    		if mbits.isMarked() {
    			return
    		}
    		mbits.setMarked()
    
    		// Mark span.
    		arena, pageIdx, pageMask := pageIndexOf(span.base())
    		if arena.pageMarks[pageIdx]&pageMask == 0 {
    			atomic.Or8(&arena.pageMarks[pageIdx], pageMask)
    		}
    
    		// If this is a noscan object, fast-track it to black
    		// instead of greying it.
    		if span.spanclass.noscan() {
    			gcw.bytesMarked += uint64(span.elemsize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  2. src/runtime/mheap.go

    		//
    		// This publishes the span to the page sweeper, so
    		// it's imperative that the span be completely initialized
    		// prior to this line.
    		arena, pageIdx, pageMask := pageIndexOf(s.base())
    		atomic.Or8(&arena.pageInUse[pageIdx], pageMask)
    
    		// Update related page sweeper stats.
    		h.pagesInUse.Add(npages)
    	}
    
    	// Make sure the newly allocated span will be observed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  3. src/runtime/mbitmap.go

    func (m markBits) setMarked() {
    	// Might be racing with other updates, so use atomic update always.
    	// We used to be clever here and use a non-atomic update in certain
    	// cases, but it's not worth the risk.
    	atomic.Or8(m.bytep, m.mask)
    }
    
    // setMarkedNonAtomic sets the marked bit in the markbits, non-atomically.
    func (m markBits) setMarkedNonAtomic() {
    	*m.bytep |= m.mask
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (FFLOOR (FMOVDconst [x])) => (FMOVDconst [math.Floor(x)])
    (FCEIL (FMOVDconst [x])) => (FMOVDconst [math.Ceil(x)])
    (FTRUNC (FMOVDconst [x])) => (FMOVDconst [math.Trunc(x)])
    
    // Rotates
    (RotateLeft8 <t> x (MOVDconst [c])) => (Or8 (Lsh8x64 <t> x (MOVDconst [c&7])) (Rsh8Ux64 <t> x (MOVDconst [-c&7])))
    (RotateLeft16 <t> x (MOVDconst [c])) => (Or16 (Lsh16x64 <t> x (MOVDconst [c&15])) (Rsh16Ux64 <t> x (MOVDconst [-c&15])))
    (RotateLeft(32|64) ...) => ((ROTLW|ROTL) ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  5. src/runtime/map.go

    	// iterator state
    	it.bucket = it.startBucket
    
    	// Remember we have an iterator.
    	// Can run concurrently with another mapiterinit().
    	if old := h.flags; old&(iterator|oldIterator) != iterator|oldIterator {
    		atomic.Or8(&h.flags, iterator|oldIterator)
    	}
    
    	mapiternext(it)
    }
    
    // mapiternext should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/S390X.rules

    (Rsh(16|8)x8  x y) => (SRAW (MOV(H|B)reg x) (LOCGR {s390x.GreaterOrEqual} <y.Type> y (MOVDconst <y.Type> [63]) (CMPWUconst (MOVBZreg y) [64])))
    
    // Lowering rotates
    (RotateLeft8 <t> x (MOVDconst [c])) => (Or8 (Lsh8x64 <t> x (MOVDconst [c&7])) (Rsh8Ux64 <t> x (MOVDconst [-c&7])))
    (RotateLeft16 <t> x (MOVDconst [c])) => (Or16 (Lsh16x64 <t> x (MOVDconst [c&15])) (Rsh16Ux64 <t> x (MOVDconst [-c&15])))
    (RotateLeft32 ...) => (RLL  ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/ARM.rules

    (CMNshiftRAreg x y (MOVWconst [c])) && 0 <= c && c < 32 => (CMNshiftRA x y [c])
    
    (RotateLeft16 <t> x (MOVWconst [c])) => (Or16 (Lsh16x32 <t> x (MOVWconst [c&15])) (Rsh16Ux32 <t> x (MOVWconst [-c&15])))
    (RotateLeft8 <t> x (MOVWconst [c])) => (Or8 (Lsh8x32 <t> x (MOVWconst [c&7])) (Rsh8Ux32 <t> x (MOVWconst [-c&7])))
    (RotateLeft32 x y) => (SRR x (RSBconst [0] <y.Type> y))
    
    // ((x>>8) | (x<<8)) -> (REV16 x), the type of x is uint16, "|" can also be "^" or "+".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
Back to top