mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
nds32: Rename __BIT() to N32_BIT().
This commit is contained in:
@ -50,8 +50,8 @@ static const int nds32_r54map[] ATTRIBUTE_UNUSED =
|
||||
-1, -1, -1, -1, -1, -1, -1, -1
|
||||
};
|
||||
|
||||
#define __BIT(n) (1 << (n))
|
||||
#define __MASK(n) (__BIT (n) - 1)
|
||||
#define N32_BIT(n) (1 << (n))
|
||||
#define __MASK(n) (N32_BIT (n) - 1)
|
||||
#define __MF(v, off, bs) (((v) & __MASK (bs)) << (off))
|
||||
#define __GF(v, off, bs) (((v) >> off) & __MASK (bs))
|
||||
#define __SEXT(v, bs) ((((v) & ((1 << (bs)) - 1)) ^ (1 << ((bs) - 1))) - (1 << ((bs) - 1)))
|
||||
|
Reference in New Issue
Block a user