1302 prefix(dst, src); |
1302 prefix(dst, src); |
1303 emit_byte(0x89); |
1303 emit_byte(0x89); |
1304 emit_operand(src, dst); |
1304 emit_operand(src, dst); |
1305 } |
1305 } |
1306 |
1306 |
1307 void Assembler::mov64(Register dst, int64_t imm64) { |
1307 void Assembler::mov64(Register dst, intptr_t imm64) { |
1308 InstructionMark im(this); |
1308 InstructionMark im(this); |
1309 int encode = prefixq_and_encode(dst->encoding()); |
1309 int encode = prefixq_and_encode(dst->encoding()); |
1310 emit_byte(0xB8 | encode); |
1310 emit_byte(0xB8 | encode); |
1311 emit_long64(imm64); |
1311 emit_long64(imm64); |
1312 } |
1312 } |
1329 prefixq(src, dst); |
1329 prefixq(src, dst); |
1330 emit_byte(0x8B); |
1330 emit_byte(0x8B); |
1331 emit_operand(dst, src); |
1331 emit_operand(dst, src); |
1332 } |
1332 } |
1333 |
1333 |
1334 void Assembler::mov64(Address dst, int64_t imm32) { |
1334 void Assembler::mov64(Address dst, intptr_t imm32) { |
1335 assert(is_simm32(imm32), "lost bits"); |
1335 assert(is_simm32(imm32), "lost bits"); |
1336 InstructionMark im(this); |
1336 InstructionMark im(this); |
1337 prefixq(dst); |
1337 prefixq(dst); |
1338 emit_byte(0xC7); |
1338 emit_byte(0xC7); |
1339 emit_operand(rax, dst, 4); |
1339 emit_operand(rax, dst, 4); |