Home
last modified time | relevance | path

Searched refs:RV_IMM_SIGN (Results 1 – 2 of 2) sorted by relevance

/netbsd/src/external/gpl3/binutils/dist/include/opcode/
Driscv.h56 #define RV_IMM_SIGN(x) (-(((x) >> 31) & 1)) macro
60 (RV_X(x, 20, 12) | (RV_IMM_SIGN(x) << 12))
62 (RV_X(x, 7, 5) | (RV_X(x, 25, 7) << 5) | (RV_IMM_SIGN(x) << 12))
64 ((RV_X(x, 8, 4) << 1) | (RV_X(x, 25, 6) << 5) | (RV_X(x, 7, 1) << 11) | (RV_IMM_SIGN(x) << 12))
66 ((RV_X(x, 12, 20) << 12) | (RV_IMM_SIGN(x) << 32))
68 …((RV_X(x, 21, 10) << 1) | (RV_X(x, 20, 1) << 11) | (RV_X(x, 12, 8) << 12) | (RV_IMM_SIGN(x) << 20))
/netbsd/src/external/gpl3/gdb/dist/include/opcode/
Driscv.h56 #define RV_IMM_SIGN(x) (-(((x) >> 31) & 1)) macro
60 (RV_X(x, 20, 12) | (RV_IMM_SIGN(x) << 12))
62 (RV_X(x, 7, 5) | (RV_X(x, 25, 7) << 5) | (RV_IMM_SIGN(x) << 12))
64 ((RV_X(x, 8, 4) << 1) | (RV_X(x, 25, 6) << 5) | (RV_X(x, 7, 1) << 11) | (RV_IMM_SIGN(x) << 12))
66 ((RV_X(x, 12, 20) << 12) | (RV_IMM_SIGN(x) << 32))
68 …((RV_X(x, 21, 10) << 1) | (RV_X(x, 20, 1) << 11) | (RV_X(x, 12, 8) << 12) | (RV_IMM_SIGN(x) << 20))