Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for MASK (0.03 sec)

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

    	} else if nbits == 32 {
    		mb = bits.LeadingZeros32(uint32(mask))
    		me = 32 - bits.TrailingZeros32(uint32(mask))
    		mbn = bits.LeadingZeros32(^uint32(mask))
    		men = 32 - bits.TrailingZeros32(^uint32(mask))
    	} else {
    		mb = bits.LeadingZeros64(uint64(mask))
    		me = 64 - bits.TrailingZeros64(uint64(mask))
    		mbn = bits.LeadingZeros64(^uint64(mask))
    		men = 64 - bits.TrailingZeros64(^uint64(mask))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/debug.go

    		k, d := it.Next()
    		live := d.(*liveSlot)
    		slots[k] = live.VarLoc
    		if live.VarLoc.Registers == 0 {
    			continue
    		}
    
    		mask := uint64(live.VarLoc.Registers)
    		for {
    			if mask == 0 {
    				break
    			}
    			reg := uint8(bits.TrailingZeros64(mask))
    			mask &^= 1 << reg
    
    			registers[reg] = append(registers[reg], SlotID(k))
    		}
    	}
    	state.slots, state.registers = slots, registers
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  3. src/net/netip/netip_test.go

    					bits: 20,
    					p:    mustPrefix("255.255.240.0/20"),
    					ok:   true,
    				},
    				{
    					// Partially masking one byte that contains both
    					// 1s and 0s on either side of the mask limit.
    					ip:   mustIP("100.98.156.66"),
    					bits: 10,
    					p:    mustPrefix("100.64.0.0/10"),
    					ok:   true,
    				},
    			},
    		},
    		{
    			family:   "IPv6",
    			subtests: makeIPv6(""),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  4. src/time/format.go

    	stdSeparatorShift = 28                 // extra argument in high 4 bits for fractional second separators
    	stdMask           = 1<<stdArgShift - 1 // mask out argument
    )
    
    // std0x records the std values for "01", "02", ..., "06".
    var std0x = [...]int{stdZeroMonth, stdZeroDay, stdZeroHour12, stdZeroMinute, stdZeroSecond, stdYear}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (RotateLeft(32|64) ...) => ((ROTLW|ROTL) ...)
    
    // Constant rotate generation
    (ROTLW  x (MOVDconst [c])) => (ROTLWconst  x [c&31])
    (ROTL   x (MOVDconst [c])) => (ROTLconst   x [c&63])
    
    // Combine rotate and mask operations
    (ANDconst [m] (ROTLWconst [r] x)) && isPPC64WordRotateMask(m) => (RLWINM [encodePPC64RotateMask(r,m,32)] x)
    (AND (MOVDconst [m]) (ROTLWconst [r] x)) && isPPC64WordRotateMask(m) => (RLWINM [encodePPC64RotateMask(r,m,32)] x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top