Uh oh!
There was an error while loading. Please reload this page.
[RISC-V] Enable TLS field access optimization - #89561
Conversation
ghost
commented
Jul 27, 2023
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsRe-enable TLS field access optimization which was disabled in #88584 as a temporary measure to fix failing tests. The implementation is analogous to the PR #88819 for loongarch64. Part of #84834
|
tomeksowi
commented
Jul 27, 2023
@dotnet-policy-service agree company="Samsung" |
clamp03
commented
Jul 28, 2023
@jakobbotsch@jkotas Could you please review this PR? |
| // | ||
| // Code sequence to access thread local variable on linux/riscv64: | ||
| // | ||
| // mov targetReg, $tp, 0 |
There was a problem hiding this comment.
Yes, that's what gcc/clang emits on RISC-V to access a thread local var.
HJLeee
commented
Jul 28, 2023
@tomeksowi Congratulations for the first landing. :) |
Re-enable inline TLS field access optimization which was disabled in #88584 as a temporary measure to fix failing tests. The implementation is analogous to the PR #88819 for loongarch64.
Part of #84834
cc @wscho77@HJLeee@JongHeonChoi@t-mustafin@alpencolt@gbalykov@clamp03