Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cmovfloateq (0.2 sec)

  1. test/codegen/condmove.go

    	return x
    }
    
    // Floating point comparison. For EQ/NE, we must
    // generate special code to handle NaNs.
    func cmovfloateq(x, y float64) int {
    	a := 128
    	if x == y {
    		a = 256
    	}
    	// amd64:"CMOVQNE","CMOVQPC"
    	// arm64:"CSEL\tEQ"
    	// ppc64x:"ISEL\t[$]2"
    	// wasm:"Select"
    	return a
    }
    
    func cmovfloatne(x, y float64) int {
    	a := 128
    	if x != y {
    		a = 256
    	}
    	// amd64:"CMOVQNE","CMOVQPS"
    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