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

GCC/glibc: Apply ASFLAGS correctly && cherry pick max-page-size from clearlinux #305

Merged
merged 4 commits into from
Aug 24, 2024

Conversation

ptr1337
Copy link
Member

@ptr1337 ptr1337 commented Aug 24, 2024

This adds the LDFLAG -max-page-size=0x1000 (4k) to GCC and glibc.
There was also an issue in applying the ASFLAGS for the x86-64-v4 optimization correctly.

Additionally, we are cherry picking 3 patches from Clearlinux, which are mainly required for the cachyos-v3, cachyos-v4 and cachyos-znver4 repository, due AVX2/512 usage.

In cachyos-benchmarker there has been an 1,8% improvement found across all benchmarks, using these changes on my 9950X

toolchain/gcc/PKGBUILD Outdated Show resolved Hide resolved
toolchain/gcc/PKGBUILD Outdated Show resolved Hide resolved
toolchain/glibc/PKGBUILD Outdated Show resolved Hide resolved
@ventureoo
Copy link
Member

Otherwise LGTM

Signed-off-by: Peter Jung <[email protected]>
@ptr1337 ptr1337 merged commit c19a412 into master Aug 24, 2024
@ptr1337 ptr1337 deleted the glibc-optimize branch August 24, 2024 15:02
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