Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cmovsetm (0.33 sec)

  1. test/codegen/condmove.go

    		x0 = a
    	} else {
    		x0 = -b
    	}
    	// arm64:"CSNEG\tNE", -"CSEL"
    	r0 = x0
    
    	if cond {
    		x1 = -b
    	} else {
    		x1 = a
    	}
    	// arm64:"CSNEG\tEQ", -"CSEL"
    	r1 = x1
    }
    
    func cmovsetm(cond bool, x int) {
    	var x0, x1 int
    
    	if cond {
    		x0 = -1
    	} else {
    		x0 = 0
    	}
    	// arm64:"CSETM\tNE", -"CSEL"
    	r0 = x0
    
    	if cond {
    		x1 = 0
    	} else {
    		x1 = -1
    	}
    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