summaryrefslogtreecommitdiff
path: root/opcodes/nds32-asm.h
diff options
context:
space:
mode:
authorKuan-Lin Chen <kuanlinchentw@gmail.com>2017-09-11 13:46:27 +0800
committerKuan-Lin Chen <kuanlinchentw@gmail.com>2017-09-11 13:46:27 +0800
commit4ec521f238627f7682306d699c8826390a2cc9e7 (patch)
tree588cf236fbd0cc862c7d91e856bec4e19c136c8e /opcodes/nds32-asm.h
parent555cb1688148f41582b1e7e9af57e2fc3fbf21bf (diff)
downloadbinutils-gdb-4ec521f238627f7682306d699c8826390a2cc9e7.tar.gz
nds32: Rename __BIT() to N32_BIT().
Diffstat (limited to 'opcodes/nds32-asm.h')
-rw-r--r--opcodes/nds32-asm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/nds32-asm.h b/opcodes/nds32-asm.h
index e5d5554955a..f5352e7e688 100644
--- a/opcodes/nds32-asm.h
+++ b/opcodes/nds32-asm.h
@@ -279,7 +279,7 @@ extern void nds32_asm_init (nds32_asm_desc_t *, int);
#define ALU2(sub) (OP6 (ALU2) | N32_ALU2_ ## sub)
#define MISC(sub) (OP6 (MISC) | N32_MISC_ ## sub)
#define MEM(sub) (OP6 (MEM) | N32_MEM_ ## sub)
-#define FPU_RA_IMMBI(sub) (OP6 (sub) | __BIT (12))
+#define FPU_RA_IMMBI(sub) (OP6 (sub) | N32_BIT (12))
#define FS1(sub) (OP6 (COP) | N32_FPU_FS1 | (N32_FPU_FS1_ ## sub << 6))
#define FS1_F2OP(sub) (OP6 (COP) | N32_FPU_FS1 | (N32_FPU_FS1_F2OP << 6) \
| (N32_FPU_FS1_F2OP_ ## sub << 10))