[PATCH] D77672: Support a few more SPARCv9 relocations

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 7 15:49:43 PDT 2020


MaskRay added a comment.

In D77672#1968122 <https://reviews.llvm.org/D77672#1968122>, @jrtc27 wrote:

> In D77672#1967700 <https://reviews.llvm.org/D77672#1967700>, @MaskRay wrote:
>
> > My immediate reaction is "isn't Sparc an abandoned architecture?" See https://en.wikipedia.org/wiki/SPARC and https://lists.freebsd.org/pipermail/freebsd-sparc64/2020-January/010192.html
> >
> > Though, no objection. You may still need some basic tests, similar to `test/ELF/ppc32-*` I tried hard to keep the number of tests small yet complete. Does sparc64 use TLS variant 2?
>
>
> For FreeBSD, yes, and mostly within LLVM (certainly nobody really uses LLD). The non-release Debian architecture is still going strong though. SPARC (32-bit and 64-bit) is basically the same as IA-32 (although not with the weird calling convention and triple leading underscores), and one of the architectures described in Drepper's original TLS white paper, so yes, variant II.


If the intention is improve Sparc, the integrated assembler issues (rL254199 <https://reviews.llvm.org/rL254199>) should be addressed.

https://lists.llvm.org/pipermail/llvm-dev/2017-June/114437.html mentioned a plan to revive the support but I believe the situation has not been improved... The codegen maintainer has moved on (left) since 2014..


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77672/new/

https://reviews.llvm.org/D77672





More information about the llvm-commits mailing list