Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

have old binutils support on AVX10 as well and improve it #2476

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arielb1
Copy link
Contributor

@arielb1 arielb1 commented Mar 12, 2025

Currently there are no ymm/zmm in the AVX10 code, but there will be.

I tested that when you fill out the map correctly, this code will work for AVX-512 as well, being able to run on AL2 and result in the same objdump if you use make-avx-map-for-old-binutils to generate an asmMap.

Made the perl code less sensitive to whitespace differences, I still think it's pretty understandable.

This currently does not change anything, not even the .S output [and therefore does not change the .o output or its objdump].

@briansmith
Copy link
Owner

OK, I will review this probably next week. In the meantime, could you replace the "AVX 1.0" references in the PR title/summary and in the patch itself (if any) with "AVX10"?

Also, could you do a diff between aes-gcm-avx2-x86_64.pl an aes-gcm-avx10-x86_64.pl to ensure that the perl code you added to both matches as closely as possible (no superfluous differences)?

@briansmith
Copy link
Owner

Also, thank you!

@arielb1
Copy link
Contributor Author

arielb1 commented Mar 12, 2025

Also, could you do a diff between aes-gcm-avx2-x86_64.pl an aes-gcm-avx10-x86_64.pl to ensure that the perl code you added to both matches as closely as possible (no superfluous differences)?

I copy pasted it, will do another diff

Currently there are no ymm/zmm in the avx10 code, but there will be.

I tested that when you fill out the map correctly, this code will work
for AVX-512 as well, being able to result in the same objdump if you
use make-avx-map-for-old-binutils to generate an asmMap.

Made the perl code less sensitive to whitespace differences, I still
think it's pretty understandable.

This currently does not change anything, not even the .S output.
@arielb1
Copy link
Contributor Author

arielb1 commented Mar 12, 2025

updated, couldn't find any more reference to AVX 1.0.

The diff between the 2 perl files is exactly what it should be.

@briansmith briansmith changed the title have old binutils support on AVX 1.0 as well and improve it have old binutils support on AVX10 as well and improve it Mar 12, 2025
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.

2 participants