Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for popcorn (0.07 sec)

  1. src/runtime/internal/sys/intrinsics.go

    }
    
    // TrailingZeros64 returns the number of trailing zero bits in x; the result is 64 for x == 0.
    func TrailingZeros64(x uint64) int {
    	if x == 0 {
    		return 64
    	}
    	// If popcount is fast, replace code below with return popcount(^x & (x - 1)).
    	//
    	// x & -x leaves only the right-most bit set in the word. Let k be the
    	// index of that bit. Since only a single bit is set, the value is two
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 08:10:45 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. test/codegen/bits.go

    	// arm64:`EON\t`,-`EOR`,-`MVN`
    	a[1] = ^(y ^ z)
    
    	// arm64:`EON\t`,-`XOR`
    	a[2] = x ^ ^z
    
    	// arm64:`EON\t`,-`EOR`,-`MVN`
    	return n ^ (m ^ 0xffffffffffffffff)
    }
    
    func op_orn(x, y uint32) uint32 {
    	// arm64:`ORN\t`,-`ORR`
    	return x | ^y
    }
    
    // check bitsets
    func bitSetPowerOf2Test(x int) bool {
    	// amd64:"BTL\t[$]3"
    	return x&8 == 8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top