mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8026844: Various Math functions needs intrinsification
Reviewed-by: kvn, twisti
This commit is contained in:
parent
073409c543
commit
615376fb9b
52 changed files with 2970 additions and 270 deletions
|
@ -1405,6 +1405,15 @@ void Assembler::imull(Register dst, Register src, int value) {
|
|||
}
|
||||
}
|
||||
|
||||
void Assembler::imull(Register dst, Address src) {
|
||||
InstructionMark im(this);
|
||||
prefix(src, dst);
|
||||
emit_int8(0x0F);
|
||||
emit_int8((unsigned char) 0xAF);
|
||||
emit_operand(dst, src);
|
||||
}
|
||||
|
||||
|
||||
void Assembler::incl(Address dst) {
|
||||
// Don't use it directly. Use MacroAssembler::increment() instead.
|
||||
InstructionMark im(this);
|
||||
|
@ -5024,6 +5033,14 @@ void Assembler::imulq(Register dst, Register src, int value) {
|
|||
}
|
||||
}
|
||||
|
||||
void Assembler::imulq(Register dst, Address src) {
|
||||
InstructionMark im(this);
|
||||
prefixq(src, dst);
|
||||
emit_int8(0x0F);
|
||||
emit_int8((unsigned char) 0xAF);
|
||||
emit_operand(dst, src);
|
||||
}
|
||||
|
||||
void Assembler::incl(Register dst) {
|
||||
// Don't use it directly. Use MacroAssembler::incrementl() instead.
|
||||
// Use two-byte form (one-byte from is a REX prefix in 64-bit mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue