Skip to content

Commit

Permalink
[LoongArch64] delete the LA64's todo within INLINE_GET_TLS_VAR. (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
shushanhf authored and pull[bot] committed Aug 19, 2024
1 parent 8bf98e6 commit 1679695
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/coreclr/nativeaot/Runtime/unix/unixasmmacrosloongarch64.inc
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,9 @@ C_FUNC(\Name):
st.d $ra, $sp, -0x8
addi.d $sp, $sp, -16

// This sequence of instructions is recognized and potentially patched
// This instruction is recognized and potentially patched
// by the linker (GD->IE/LE relaxation).
// TODO-LOONGARCH64: Fix once TLSDESC is supported by LLVM
//la.local $a0, \var
//ld.d \target, $a0, 0
//.tlsdesccall \var
//jirl $ra, \target, 0
la.tls.ie $a0, \var
// End of the sequence
la.tls.desc $a0, \var

ori \target, $tp, 0
add.d \target, \target, $a0
Expand Down

0 comments on commit 1679695

Please sign in to comment.