Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSetEq64 (0.27 sec)

  1. test/codegen/bool.go

    func convertNeqBool64(x uint64) bool {
    	// ppc64x:"RLDICL",-"CMP",-"ISEL"
    	return x&1 != 0
    }
    
    func convertEqBool64(x uint64) bool {
    	// ppc64x:"RLDICL","XOR",-"CMP",-"ISEL"
    	return x&1 == 0
    }
    
    func TestSetEq64(x uint64, y uint64) bool {
    	// ppc64x/power10:"SETBC\tCR0EQ",-"ISEL"
    	// ppc64x/power9:"CMP","ISEL",-"SETBC\tCR0EQ"
    	// ppc64x/power8:"CMP","ISEL",-"SETBC\tCR0EQ"
    	b := x == y
    	return b
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 22:12:32 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top