Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isPowerOfTwoBranch64 (0.18 sec)

  1. test/codegen/bmi.go

    	// amd64/v3:"BLSRL",-"TESTL",-"CALL"
    	if isPowerOfTwo32(x) {
    		r = a
    	} else {
    		r = b
    	}
    	// amd64/v3:"CMOVLEQ",-"TESTL",-"CALL"
    	return r * 2 // force return blocks joining
    }
    
    func isPowerOfTwoBranch64(x int64, a func(bool), b func(string)) {
    	// amd64/v3:"BLSRQ",-"TESTQ",-"CALL"
    	if isPowerOfTwo64(x) {
    		a(true)
    	} else {
    		b("false")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 04:58:59 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top