Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestBranchCondition (0.19 sec)

  1. src/cmd/internal/obj/riscv/testdata/testbranch/branch_test.go

    func testGoBLEU(a, b int64) bool { return uint64(a) <= uint64(b) }
    func testGoBLT(a, b int64) bool  { return a < b }
    func testGoBLTU(a, b int64) bool { return uint64(a) < uint64(b) }
    
    func TestBranchCondition(t *testing.T) {
    	tests := []struct {
    		ins  string
    		a    int64
    		b    int64
    		fn   func(a, b int64) bool
    		goFn func(a, b int64) bool
    		want bool
    	}{
    		{"BGE", 0, 1, testBGE, testGoBGE, false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 28 21:56:43 UTC 2022
    - 4.4K bytes
    - Viewed (0)
Back to top