Searched refs:sign_extend (Results 1 – 10 of 10) sorted by relevance
/arch/arc/include/asm/ |
D | disasm.h | 44 #define FIELD_s12(word) sign_extend(((BITS((word), 0, 5) << 6) | \ 49 #define FIELD_s9(word) sign_extend(((BITS(word, 15, 15) << 8) | \ 51 #define FIELD_s21(word) sign_extend(((BITS(word, 6, 15) << 11) | \ 53 #define FIELD_s25(word) sign_extend(((BITS(word, 0, 3) << 21) | \ 67 #define FIELD_S_s7(word) sign_extend(BITS((word), 0, 5) << 1, 9) 68 #define FIELD_S_s8(word) sign_extend(BITS((word), 0, 7) << 1, 9) 69 #define FIELD_S_s9(word) sign_extend(BITS((word), 0, 8), 9) 70 #define FIELD_S_s10(word) sign_extend(BITS((word), 0, 8) << 1, 10) 71 #define FIELD_S_s11(word) sign_extend(BITS((word), 0, 8) << 2, 11) 72 #define FIELD_S_s13(word) sign_extend(BITS((word), 0, 10) << 2, 13) [all …]
|
/arch/arm/kvm/ |
D | mmio.c | 114 if (vcpu->arch.mmio_decode.sign_extend && in kvm_handle_mmio_return() 139 bool sign_extend; in decode_hsr() local 158 sign_extend = kvm_vcpu_dabt_issext(vcpu); in decode_hsr() 162 vcpu->arch.mmio_decode.sign_extend = sign_extend; in decode_hsr()
|
/arch/arm64/include/asm/ |
D | kvm_mmio.h | 31 bool sign_extend; member
|
/arch/arm/include/asm/ |
D | kvm_mmio.h | 28 bool sign_extend; member
|
/arch/sh/kernel/ |
D | traps_32.c | 49 static inline void sign_extend(unsigned int count, unsigned char *dst) in sign_extend() function 125 sign_extend(count, dst); in handle_unaligned_ins() 187 sign_extend(count, dst); in handle_unaligned_ins() 217 sign_extend(2, dst); in handle_unaligned_ins() 236 sign_extend(2, dst); in handle_unaligned_ins()
|
/arch/arm/probes/ |
D | decode-arm.c | 27 #define sign_extend(x, signbit) ((x) | (0 - ((x) & (1 << (signbit))))) macro 29 #define branch_displacement(insn) sign_extend(((insn) & 0xffffff) << 2, 25)
|
/arch/tile/kernel/ |
D | kgdb.c | 230 jump_off = sign_extend(get_JumpOff_X1(bundle), 27); in get_step_address() 283 br_off = sign_extend(br_off, 17); in get_step_address()
|
D | single_step.c | 38 #define signExtend17(val) sign_extend((val), 17)
|
/arch/tile/include/uapi/arch/ |
D | opcode_tilepro.h | 524 sign_extend(int n, int num_bits) in sign_extend() function
|
D | opcode_tilegx.h | 423 sign_extend(int n, int num_bits) in sign_extend() function
|