Lines Matching refs:sign_extend
41 #define FIELD_s12(word) sign_extend(((BITS((word), 0, 5) << 6) | \
46 #define FIELD_s9(word) sign_extend(((BITS(word, 15, 15) << 8) | \
48 #define FIELD_s21(word) sign_extend(((BITS(word, 6, 15) << 11) | \
50 #define FIELD_s25(word) sign_extend(((BITS(word, 0, 3) << 21) | \
64 #define FIELD_S_s7(word) sign_extend(BITS((word), 0, 5) << 1, 9)
65 #define FIELD_S_s8(word) sign_extend(BITS((word), 0, 7) << 1, 9)
66 #define FIELD_S_s9(word) sign_extend(BITS((word), 0, 8), 9)
67 #define FIELD_S_s10(word) sign_extend(BITS((word), 0, 8) << 1, 10)
68 #define FIELD_S_s11(word) sign_extend(BITS((word), 0, 8) << 2, 11)
69 #define FIELD_S_s13(word) sign_extend(BITS((word), 0, 10) << 2, 13)
90 static inline int sign_extend(int value, int bits) in sign_extend() function