Searched refs:imm (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/include/zephyr/arch/arm64/ |
D | macro.inc | 27 .macro mov_imm, xreg, imm 28 .if ((\imm) == 0) 29 mov \xreg, \imm 31 .if (((\imm) >> 31) == 0 || ((\imm) >> 31) == 0x1ffffffff) 32 movz \xreg, (\imm >> 16) & 0xffff, lsl 16 34 .if (((\imm) >> 47) == 0 || ((\imm) >> 47) == 0x1ffff) 35 movz \xreg, (\imm >> 32) & 0xffff, lsl 32 37 movz \xreg, (\imm >> 48) & 0xffff, lsl 48 38 movk \xreg, (\imm >> 32) & 0xffff, lsl 32 40 movk \xreg, (\imm >> 16) & 0xffff, lsl 16 [all …]
|
/Zephyr-latest/arch/arm64/core/ |
D | elf.c | 196 uint32_t imm; in movw_reloc_handler() local 258 imm = x >> lsb; in movw_reloc_handler() 269 imm = ~imm; in movw_reloc_handler() 274 opcode |= (imm & AARCH64_MASK_IMM16) << AARCH64_SHIFT_MOV_IMM16; in movw_reloc_handler() 278 if (imm > UINT16_MAX) { in movw_reloc_handler() 302 uint64_t imm; in imm_reloc_handler() local 380 imm = x & BIT_MASK(len); in imm_reloc_handler() 386 immlo = (imm & AARCH64_MASK_ADR_IMMLO) << AARCH64_SHIFT_ADR_IMMLO; in imm_reloc_handler() 387 imm >>= AARCH64_ADR_IMMLO_BITS; in imm_reloc_handler() 388 immhi = (imm & AARCH64_MASK_ADR_IMMHI) << AARCH64_SHIFT_ADR_IMMHI; in imm_reloc_handler() [all …]
|