arch/csky/abiv2/sysdep.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | |
| 3 | #ifndef __SYSDEP_H |
| 4 | #define __SYSDEP_H |
| 5 | |
| 6 | #ifdef __ASSEMBLER__ |
| 7 | |
| 8 | #if defined(__CK860__) |
| 9 | #define LABLE_ALIGN \ |
| 10 | .balignw 16, 0x6c03 |
| 11 | |
| 12 | #define PRE_BNEZAD(R) |
| 13 | |
| 14 | #define BNEZAD(R, L) \ |
| 15 | bnezad R, L |
| 16 | #else |
| 17 | #define LABLE_ALIGN \ |
| 18 | .balignw 8, 0x6c03 |
| 19 | |
| 20 | #define PRE_BNEZAD(R) \ |
| 21 | subi R, 1 |
| 22 | |
| 23 | #define BNEZAD(R, L) \ |
| 24 | bnez R, L |
| 25 | #endif |
| 26 | |
| 27 | #endif |
| 28 | |
| 29 | #endif |