[PATCH] D59631: [AArch64] Support selecting TPIDR_EL[1-3] as the thread base

2019-03-21 Thread Philip Derrin via Phabricator via cfe-commits
philip.derrin updated this revision to Diff 191800. philip.derrin edited the summary of this revision. philip.derrin added a comment. Merged -mtpidr= with existing AArch32 option -mtp= CHANGES SINCE LAST ACTION https://reviews.llvm.org/D59631/new/ https://reviews.llvm.org/D59631 Files: cla

[PATCH] D59631: [AArch64] Support selecting TPIDR_EL[1-3] as the thread base

2019-03-21 Thread Philip Derrin via Phabricator via cfe-commits
philip.derrin removed a reviewer: olista01. philip.derrin added a comment. In D59631#1437744 , @olista01 wrote: > Is there an existing compiler which this option is trying to be compatible > with? GCC for AArch64 doesn't currently have an option for this,

[PATCH] D59631: [AArch64] Support selecting TPIDR_EL[1-3] as the thread base

2019-03-20 Thread Philip Derrin via Phabricator via cfe-commits
philip.derrin created this revision. Herald added subscribers: cfe-commits, kristof.beyls, javed.absar. Herald added a project: clang. Add an -mtpidr=el[0-3] option to select which of the AArch64 thread ID registers will be used for the TLS base pointer. This is a followup to D54685