- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for cmovchan (0.12 sec)
-
test/codegen/condmove.go
package codegen func cmovint(c int) int { x := c + 4 if x < 0 { x = 182 } // amd64:"CMOVQLT" // arm64:"CSEL\tLT" // ppc64x:"ISEL\t[$]0" // wasm:"Select" 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 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 20:57:33 UTC 2023 - 6.2K bytes - Viewed (0)