1 /* SPDX-License-Identifier: GPL-2.0 */
5 /* Macros to assist the sharing of assembler code between 32-bit and
10 #define BRANCH32(TYPE, PREDICT, DEST) \
11 TYPE,PREDICT %icc, DEST
12 #define BRANCH32_ANNUL(TYPE, PREDICT, DEST) \
13 TYPE,a,PREDICT %icc, DEST
14 #define BRANCH_REG_ZERO(PREDICT, REG, DEST) \
16 #define BRANCH_REG_ZERO_ANNUL(PREDICT, REG, DEST) \
17 brz,a,PREDICT REG, DEST
18 #define BRANCH_REG_NOT_ZERO(PREDICT, REG, DEST) \
19 brnz,PREDICT REG, DEST
20 #define BRANCH_REG_NOT_ZERO_ANNUL(PREDICT, REG, DEST) \
21 brnz,a,PREDICT REG, DEST
23 #define BRANCH32(TYPE, PREDICT, DEST) \
25 #define BRANCH32_ANNUL(TYPE, PREDICT, DEST) \
27 #define BRANCH_REG_ZERO(PREDICT, REG, DEST) \
30 #define BRANCH_REG_ZERO_ANNUL(PREDICT, REG, DEST) \
33 #define BRANCH_REG_NOT_ZERO(PREDICT, REG, DEST) \
36 #define BRANCH_REG_NOT_ZERO_ANNUL(PREDICT, REG, DEST) \
41 #endif /* _SPARC_ASM_H */