summaryrefslogtreecommitdiff
path: root/libc/string/csky/cskyv2/macro.S
blob: 047645c215388ac2785d46123f619b98f3d4b423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
.macro M_BEZ rx, label
	bez   \rx, \label
.endm

.macro M_BNEZ rx, label
	bnez  \rx, \label
.endm

.macro M_BNE rx, ry, label
	cmpne \rx, \ry
	bt    \label
.endm