Searched refs:imm10 (Results 1 – 3 of 3) sorted by relevance
9 unsigned long s, j1, j2, i1, i2, imm10, imm11; in __arm_gen_branch_thumb2() local22 imm10 = (offset >> 12) & 0x3ff; in __arm_gen_branch_thumb2()28 first = 0xf000 | (s << 10) | imm10; in __arm_gen_branch_thumb2()
539 static inline u16 rvc_addi4spn(u8 rd, u32 imm10) in rvc_addi4spn() argument543 imm = ((imm10 & 0x30) << 2) | ((imm10 & 0x3c0) >> 4) | in rvc_addi4spn()544 ((imm10 & 0x4) >> 1) | ((imm10 & 0x8) >> 3); in rvc_addi4spn()576 static inline u16 rvc_addi16sp(u32 imm10) in rvc_addi16sp() argument580 imm = ((imm10 & 0x200) >> 4) | (imm10 & 0x10) | ((imm10 & 0x40) >> 3) | in rvc_addi16sp()581 ((imm10 & 0x180) >> 6) | ((imm10 & 0x20) >> 5); in rvc_addi16sp()
79 u16 imm10 = (offset & 0x400) >> (10 - 8); in apply_r_riscv_rvc_jump_rela() local88 imm11 | imm10 | imm9_8 | imm7 | imm6 | imm5 | imm4 | imm3_1; in apply_r_riscv_rvc_jump_rela()