mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 16:44:36 +02:00
8282221: x86 intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long
Reviewed-by: sviswanathan, kvn, jbhateja
This commit is contained in:
parent
0b867b5e73
commit
37e28aea27
20 changed files with 1155 additions and 2 deletions
|
@ -12366,6 +12366,11 @@ void Assembler::idivq(Register src) {
|
|||
emit_int16((unsigned char)0xF7, (0xF8 | encode));
|
||||
}
|
||||
|
||||
void Assembler::divq(Register src) {
|
||||
int encode = prefixq_and_encode(src->encoding());
|
||||
emit_int16((unsigned char)0xF7, (0xF0 | encode));
|
||||
}
|
||||
|
||||
void Assembler::imulq(Register dst, Register src) {
|
||||
int encode = prefixq_and_encode(dst->encoding(), src->encoding());
|
||||
emit_int24(0x0F, (unsigned char)0xAF, (0xC0 | encode));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue