Skip to content

Poly1305 AVX512 intrinsic for x86_64#1

Open
vpaprotsk wants to merge 30 commits intomasterfrom
avx512-poly
Open

Poly1305 AVX512 intrinsic for x86_64#1
vpaprotsk wants to merge 30 commits intomasterfrom
avx512-poly

Conversation

@vpaprotsk
Copy link
Copy Markdown
Owner

No description provided.

Comment thread src/java.base/share/classes/module-info.java Outdated
Comment thread src/java.base/share/classes/com/sun/crypto/provider/Poly1305.java Outdated
Comment thread src/java.base/share/classes/com/sun/crypto/provider/Poly1305.java Outdated
Comment thread src/java.base/share/classes/com/sun/crypto/provider/Poly1305.java Outdated
Comment thread src/java.base/share/classes/com/sun/crypto/provider/Poly1305.java Outdated
Comment thread src/hotspot/cpu/x86/assembler_x86.cpp Outdated
Comment thread src/hotspot/cpu/x86/assembler_x86.cpp Outdated
Comment thread src/hotspot/cpu/x86/assembler_x86.cpp Outdated
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check 32?

Comment thread src/hotspot/cpu/x86/assembler_x86.cpp Outdated
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FIXME x3

Comment thread src/hotspot/cpu/x86/assembler_x86.cpp Outdated
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

32 bit?

Copy link
Copy Markdown

@sviswa7 sviswa7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some initial comments

Comment thread src/hotspot/cpu/x86/assembler_x86.cpp Outdated
Comment thread src/hotspot/cpu/x86/assembler_x86.cpp Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/* no_mask_reg / true should be / no_mask_reg */ false

Comment thread src/hotspot/cpu/x86/assembler_x86.cpp Outdated
Comment thread src/hotspot/cpu/x86/assembler_x86.cpp Outdated
Comment thread src/hotspot/cpu/x86/assembler_x86.cpp Outdated
Comment on lines 5887 to 5891
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be under #ifdef _LP64, #endif.

Comment thread src/hotspot/cpu/x86/assembler_x86.cpp Outdated
Comment on lines 5902 to 5916
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be under #ifdef _LP64, #endif.

Comment thread src/hotspot/cpu/x86/assembler_x86.hpp Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be under #ifdef _LP64, #endif.

Comment thread src/hotspot/cpu/x86/assembler_x86.hpp Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be under #ifdef _LP64, #endif.

@vpaprotsk vpaprotsk changed the title poly clean Poly1305 AVX512 intrinsic for x86_64 Sep 2, 2022
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this fixme note be removed or what exactly needs fixing here?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot to remove FIXME during cleanup. I believe I was leaving a note for myself to see if there were any off-by-one errors in the loop, but I checked all that with stepping with a debugger..

(Yes, it should be deleted. Well.. this whole block, from line 182)

@vpaprotsk vpaprotsk force-pushed the avx512-poly branch 3 times, most recently from 8abb6cc to d314b03 Compare October 4, 2022 17:14
@ascarpino
Copy link
Copy Markdown

I will look at this

@vpaprotsk
Copy link
Copy Markdown
Owner Author

I will look at this

@ascarpino I think you meant to comment on openjdk#10582

(I used this PR for some preliminary reviews and an internal security review..)

vpaprotsk pushed a commit that referenced this pull request Nov 13, 2024
vpaprotsk pushed a commit that referenced this pull request Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants