Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testBGE (0.12 sec)

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

    		a    int64
    		b    int64
    		fn   func(a, b int64) bool
    		goFn func(a, b int64) bool
    		want bool
    	}{
    		{"BGE", 0, 1, testBGE, testGoBGE, false},
    		{"BGE", 0, 0, testBGE, testGoBGE, true},
    		{"BGE", 0, -1, testBGE, testGoBGE, true},
    		{"BGE", -1, 0, testBGE, testGoBGE, false},
    		{"BGE", 1, 0, testBGE, testGoBGE, true},
    		{"BGEU", 0, 1, testBGEU, testGoBGEU, false},
    		{"BGEU", 0, 0, testBGEU, testGoBGEU, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 28 21:56:43 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/riscv/testdata/testbranch/branch_test.s

    #include "textflag.h"
    
    // func testBEQZ(a int64) (r bool)
    TEXT ·testBEQZ(SB),NOSPLIT,$0-9
    	MOV	a+0(FP), X5
    	MOV	$1, X6
    	BEQZ	X5, b
    	MOV	$0, X6
    b:
    	MOV	X6, r+8(FP)
    	RET
    
    // func testBGE(a, b int64) (r bool)
    TEXT ·testBGE(SB),NOSPLIT,$0-17
    	MOV	a+0(FP), X5
    	MOV	b+8(FP), X6
    	MOV	$1, X7
    	BGE	X5, X6, b
    	MOV	$0, X7
    b:
    	MOV	X7, r+16(FP)
    	RET
    
    // func testBGEU(a, b int64) (r bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 28 21:56:43 UTC 2022
    - 2.4K bytes
    - Viewed (0)
Back to top