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

LoongArch: apply relaxation to tls desc #1333

Merged
merged 1 commit into from
Aug 21, 2024
Merged

LoongArch: apply relaxation to tls desc #1333

merged 1 commit into from
Aug 21, 2024

Conversation

ywgrit
Copy link
Contributor

@ywgrit ywgrit commented Aug 21, 2024

The optimaztion on tls access model could be divided into two parts.

  1. Trandform TLS desc to Initial-Exec/Local-Exec. When transform from TLS desc
    to Local-Exec, we could shrink the instruction sequences to one instruction(ori) to get the TP-relative address if it is small.
  2. Relax the instruction sequences. If we could not transform TLS access model, we may try relax the instruction sequences.

@ywgrit
Copy link
Contributor Author

ywgrit commented Aug 21, 2024

@MQ-mengqing

@rui314 rui314 merged commit 37e175b into rui314:main Aug 21, 2024
13 checks passed
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