Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CmpZero1 (0.09 sec)

  1. test/codegen/comparisons.go

    	// amd64:`CMPQ\s16\([A-Z]+\),`
    	if a[1] > a[2] {
    		return 1
    	} else {
    		return 2
    	}
    }
    
    // Check tbz/tbnz are generated when comparing against zero on arm64
    
    func CmpZero1(a int32, ptr *int) {
    	if a < 0 { // arm64:"TBZ"
    		*ptr = 0
    	}
    }
    
    func CmpZero2(a int64, ptr *int) {
    	if a < 0 { // arm64:"TBZ"
    		*ptr = 0
    	}
    }
    
    func CmpZero3(a int32, ptr *int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top