[PATCH] D28985: [Builtin][ARM] Add Thumb1 support for aeabi_c{f, d}cmp.S and dcmp.S
Renato Golin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 24 03:08:45 PST 2017
rengolin added a comment.
Hi Weiming,
We have here the same problem as we had in the other patch: MRS/MSR is only available in ARMv6M. We'll have to find another way.
cheers,
--renato
================
Comment at: lib/builtins/arm/aeabi_cdcmp.S:43
+ lsls r0, #APSR_C_SHIFT
+ msr APSR, r0
+ pop {r0-r3, pc}
----------------
MSR is not available in Thumb1.
https://reviews.llvm.org/D28985
More information about the llvm-commits
mailing list