- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testBEQZ (0.09 sec)
-
src/cmd/internal/obj/riscv/testdata/testbranch/branch_test.go
}) } } func TestBranchZero(t *testing.T) { tests := []struct { ins string a int64 fn func(a int64) bool want bool }{ {"BEQZ", -1, testBEQZ, false}, {"BEQZ", 0, testBEQZ, true}, {"BEQZ", 1, testBEQZ, false}, {"BGEZ", -1, testBGEZ, false}, {"BGEZ", 0, testBGEZ, true}, {"BGEZ", 1, testBGEZ, true}, {"BGTZ", -1, testBGTZ, false}, {"BGTZ", 0, testBGTZ, 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) -
src/cmd/internal/obj/riscv/testdata/testbranch/branch_test.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build riscv64 // +build riscv64 #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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 28 21:56:43 UTC 2022 - 2.4K bytes - Viewed (0)