Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/assembler/include/berberis/assembler/
Dx86_64.h465 inline void Assembler::Movq(Register dest, int64_t imm64) { in Movq() argument
466 if (IsInRange<uint32_t>(imm64)) { in Movq()
468 Movl(dest, static_cast<uint32_t>(imm64)); in Movq()
469 } else if (IsInRange<int32_t>(imm64)) { in Movq()
471 EmitInstruction<Opcodes<0xc7, 0x00>>(Register64Bit(dest), static_cast<int32_t>(imm64)); in Movq()
474 EmitInstruction<Opcodes<0xb8>>(Register64Bit(dest), imm64); in Movq()
/frameworks/libs/binary_translation/backend/x86_64/
Dinsn_folding.cc173 uint64_t imm64; in TryFoldImmediateInput() local
174 if (!IsRegImm(src, &imm64)) { in TryFoldImmediateInput()
180 return {true, machine_ir_->NewInsn<MovqRegImm>(insn->RegAt(0), imm64)}; in TryFoldImmediateInput()
183 int64_t signed_imm = bit_cast<int64_t>(imm64); in TryFoldImmediateInput()