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

More clarification on TLS pseudo instructions #274

Open
kito-cheng opened this issue Apr 21, 2022 · 4 comments
Open

More clarification on TLS pseudo instructions #274

kito-cheng opened this issue Apr 21, 2022 · 4 comments
Milestone

Comments

@kito-cheng
Copy link
Collaborator

Review comment come from @anderslindgren-iar and Anders Berg(IAR) https://lists.riscv.org/g/tech-toolchain-runtime/message/344

Example assembler load and store of a thread local variable i using the la.tls.ie pseudoinstruction, with the emitted TLS relocations in comments:
...
la.tls.ie a5,i
...

Example assembler load and store of a thread local variable i using the la.tls.gd pseudoinstruction, with the emitted TLS relocations in comments:
...
la.tls.gd a0,i
...

Anders: Reference to its definition/description please!

@kito-cheng kito-cheng added this to the Public Review for 1.0 milestone Apr 21, 2022
@jrtc27
Copy link
Collaborator

jrtc27 commented Apr 21, 2022

Immediately below each we give the expansion of the instruction, and the references contains the "RISC-V Assembly Programmer’s Manual". I don't get what's missing.

@kito-cheng
Copy link
Collaborator Author

@anderslindgren-iar did you mind give few more word to explain the issue?

@anderslindgren-iar
Copy link

anderslindgren-iar commented Apr 25, 2022 via email

@kito-cheng
Copy link
Collaborator Author

I think it's boarder issue than psABI spec, move to post 1.0, e definitely need to improve the asm manual, hopeful we can have resource to improve that in future.

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

No branches or pull requests

3 participants