Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 
0003 #ifndef __SYSDEP_H
0004 #define __SYSDEP_H
0005 
0006 #ifdef __ASSEMBLER__
0007 
0008 #if defined(__CK860__)
0009 #define LABLE_ALIGN \
0010     .balignw 16, 0x6c03
0011 
0012 #define PRE_BNEZAD(R)
0013 
0014 #define BNEZAD(R, L)    \
0015     bnezad  R, L
0016 #else
0017 #define LABLE_ALIGN \
0018     .balignw 8, 0x6c03
0019 
0020 #define PRE_BNEZAD(R)   \
0021     subi    R, 1
0022 
0023 #define BNEZAD(R, L)    \
0024     bnez    R, L
0025 #endif
0026 
0027 #endif
0028 
0029 #endif