v0.9.1 b9d062c

trampolines_loong64.s RawHistoryFolder

1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: 2025 The Ebitengine Authors
3
4//go:build !cgo && linux
5
6#include "textflag.h"
7#include "go_asm.h"
8
9// these trampolines map the gcc ABI to Go ABI and then calls into the Go equivalent functions.
10
11TEXT x_cgo_init_trampoline(SB), NOSPLIT, $16
12	MOVV R4, 8(R3)
13	MOVV R5, 16(R3)
14	MOVV ·x_cgo_init_call(SB), R6
15	MOVV (R6), R7
16	CALL (R7)
17	RET
18
19TEXT x_cgo_thread_start_trampoline(SB), NOSPLIT, $8
20	MOVV R4, 8(R3)
21	MOVV ·x_cgo_thread_start_call(SB), R5
22	MOVV (R5), R6
23	CALL (R6)
24	RET
25
26TEXT x_cgo_setenv_trampoline(SB), NOSPLIT, $8
27	MOVV R4, 8(R3)
28	MOVV ·x_cgo_setenv_call(SB), R5
29	MOVV (R5), R6
30	CALL (R6)
31	RET
32
33TEXT x_cgo_unsetenv_trampoline(SB), NOSPLIT, $8
34	MOVV R4, 8(R3)
35	MOVV ·x_cgo_unsetenv_call(SB), R5
36	MOVV (R5), R6
37	CALL (R6)
38	RET
39
40TEXT x_cgo_notify_runtime_init_done_trampoline(SB), NOSPLIT, $0
41	CALL ·x_cgo_notify_runtime_init_done(SB)
42	RET
43
44TEXT x_cgo_bindm_trampoline(SB), NOSPLIT, $0
45	CALL ·x_cgo_bindm(SB)
46	RET
47
48// func setg_trampoline(setg uintptr, g uintptr)
49TEXT ·setg_trampoline(SB), NOSPLIT, $0
50	MOVV G+8(FP), R4
51	MOVV setg+0(FP), R5
52	CALL (R5)
53	RET
54
55TEXT threadentry_trampoline(SB), NOSPLIT, $16
56	MOVV R4, 8(R3)
57	MOVV ·threadentry_call(SB), R5
58	MOVV (R5), R6
59	CALL (R6)
60	RET
61
62TEXT ·call5(SB), NOSPLIT, $0-0
63	MOVV fn+0(FP), R9
64	MOVV a1+8(FP), R4
65	MOVV a2+16(FP), R5
66	MOVV a3+24(FP), R6
67	MOVV a4+32(FP), R7
68	MOVV a5+40(FP), R8
69	CALL (R9)
70	MOVV R4, ret+48(FP)
71	RET

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 102

↑↓ moveenter openesc close