mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8165381: Update for x86 SHA512 using AVX2
Add intrinsics for x86 AVX2 architecture with no SHA instructions. Reviewed-by: kvn
This commit is contained in:
parent
cebdce2234
commit
2bc0337093
11 changed files with 668 additions and 9 deletions
|
@ -4309,6 +4309,15 @@ void MacroAssembler::vpaddw(XMMRegister dst, XMMRegister nds, Address src, int v
|
|||
}
|
||||
}
|
||||
|
||||
void MacroAssembler::vpand(XMMRegister dst, XMMRegister nds, AddressLiteral src, int vector_len) {
|
||||
if (reachable(src)) {
|
||||
Assembler::vpand(dst, nds, as_Address(src), vector_len);
|
||||
} else {
|
||||
lea(rscratch1, src);
|
||||
Assembler::vpand(dst, nds, Address(rscratch1, 0), vector_len);
|
||||
}
|
||||
}
|
||||
|
||||
void MacroAssembler::vpbroadcastw(XMMRegister dst, XMMRegister src) {
|
||||
int dst_enc = dst->encoding();
|
||||
int src_enc = src->encoding();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue