Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cmovuintptr (0.46 sec)

  1. test/codegen/condmove.go

    	return x
    }
    
    func cmovchan(x, y chan int) chan int {
    	if x != y {
    		x = y
    	}
    	// amd64:"CMOVQNE"
    	// arm64:"CSEL\tNE"
    	// ppc64x:"ISEL\t[$]2"
    	// wasm:"Select"
    	return x
    }
    
    func cmovuintptr(x, y uintptr) uintptr {
    	if x < y {
    		x = -y
    	}
    	// amd64:"CMOVQ(HI|CS)"
    	// arm64:"CSNEG\tLS"
    	// ppc64x:"ISEL\t[$]1"
    	// wasm:"Select"
    	return x
    }
    
    func cmov32bit(x, y uint32) uint32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:57:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top