// For arm32 and -mtp=soft, the compiler uses this function to read the thread
// pointer for ELF TLS accesses. With -mtp=cp15, the compiler inlines the call
// instead. GCC defaults to -mtp=auto, which inlines this function with
// -march=armv7-a. Clang does not yet implement -mtp=auto, and instead defaults
// to -mtp=soft.
// - https://bugs.llvm.org/show_bug.cgi?id=38394.
// - https://reviews.llvm.org/D34878?id=114573.
//
// This function must preserve every register except r0, ip, lr, and cpsr.
//
// See "Run-time ABI for the ARM Architecture"
// http://infocenter.arm.com/help/topic/com.arm.doc.ihi0043d/IHI0043D_rtabi.pdf
//
ENTRY(__aeabi_read_tp)
// __get_tls()
mrc p15, 0, r0, c13, c0, 3
bx lr
END(__aeabi_read_tp)
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet am 2026-06-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.