1 /* SPDX-License-Identifier: GPL-2.0 */
2 // Copyright (C) 2005-2017 Andes Technology Corporation
4 #ifndef __NDS32_ASSEMBLER_H__
5 #define __NDS32_ASSEMBLER_H__
17 .macro gie_save oldpsw
23 .macro gie_restore oldpsw
24 andi \oldpsw
, \oldpsw
, #0x1
32 #define USER(insn, reg, addr, opr) \
33 9999: insn reg, addr, opr; \
34 .section __ex_table,"a"; \
39 #endif /* __NDS32_ASSEMBLER_H__ */