sysdep.h 369 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __SYSDEP_H
  3. #define __SYSDEP_H
  4. #ifdef __ASSEMBLER__
  5. #if defined(__CK860__)
  6. #define LABLE_ALIGN \
  7. .balignw 16, 0x6c03
  8. #define PRE_BNEZAD(R)
  9. #define BNEZAD(R, L) \
  10. bnezad R, L
  11. #else
  12. #define LABLE_ALIGN \
  13. .balignw 8, 0x6c03
  14. #define PRE_BNEZAD(R) \
  15. subi R, 1
  16. #define BNEZAD(R, L) \
  17. bnez R, L
  18. #endif
  19. #endif
  20. #endif