[PATCH] D31220: [builtins][ARM] Select correct code fragments when compiling for Thumb1/Thum2/ARM ISA

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 17 03:15:08 PDT 2017


peter.smith added a comment.

I'm happy with the changes, probably best to wait for compnerd to approve though.

Although not for this patch. On older pre cortex cores such as the ARM1176JF-S (used in the original raspberry pi) that have Thumb but not Thumb2, and crucially not the v6m system extensions, it may be better to switch to ARM state for performance critical functions. Alternatively compiler-rt could always be compiled entirely in ARM state.


https://reviews.llvm.org/D31220





More information about the llvm-commits mailing list