Skip to content

22.x: [cpullvm][DNM] Add speed-optimized AArch64 library variants - #565

Draft
Jonathon Penix (jonathonpenix) wants to merge 1 commit into
qualcomm:release/qualcomm-software/22.xfrom
jonathonpenix:pr/22/O2_picolibc
Draft

22.x: [cpullvm][DNM] Add speed-optimized AArch64 library variants#565
Jonathon Penix (jonathonpenix) wants to merge 1 commit into
qualcomm:release/qualcomm-software/22.xfrom
jonathonpenix:pr/22/O2_picolibc

Conversation

@jonathonpenix

Copy link
Copy Markdown
Contributor

These are prototype changes for some users who want to experiment with speed optimized libraries.

These changes should not be merged as-is:

  • If we go forward with something like this, I think we want to rework the existing -Oz -> -Os mapping and the -O2 -> -O3 mapping added here. That would allow some extra flexibility for folks to select differently optimized library variants without changing their opt flags.
  • This includes a patch to upstream clang code to expand the opt level passthrough to handle all targets and all opt levels. This obviously needs to go through community review (and the patch given tests, etc.). Might need to think a bit more about whether we could get away with a smaller change by ordering the variants differently.

These are prototype changes for some users who want to experiment with speed
optimized libraries.

These changes should not be merged as-is:
* If we go forward with something like this, I think we want to rework the
  existing -Oz -> -Os mapping and the -O2 -> -O3 mapping added here. That
  would allow some extra flexibility for folks to select differently
  optimized library variants without changing their opt flags.
* This includes a patch to upstream clang code to expand the opt level
  passthrough to handle all targets and all opt levels. This obviously
  needs to go through community review (and the patch given tests, etc.).
  Might need to think a bit more about whether we could get away with a
  smaller change by ordering the variants differently.

Signed-off-by: Jonathon Penix <jpenix@qti.qualcomm.com>
@jonathonpenix Jonathon Penix (jonathonpenix) changed the title [cpullvm][DNM] Add speed-optimized AArch64 library variants 22.x: [cpullvm][DNM] Add speed-optimized AArch64 library variants Aug 2, 2026
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.

1 participant