[PATCH] D51854: [Arm builtins] Remove non-necessary IS check
Kristina Brooks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 2 09:35:06 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT343601: [Arm builtins] Remove non-necessary IS check (authored by kristina, committed by ).
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D51854
Files:
lib/builtins/arm/aeabi_cdcmp.S
lib/builtins/arm/aeabi_cfcmp.S
Index: lib/builtins/arm/aeabi_cdcmp.S
===================================================================
--- lib/builtins/arm/aeabi_cdcmp.S
+++ lib/builtins/arm/aeabi_cdcmp.S
@@ -55,7 +55,7 @@
mov ip, #APSR_C
msr APSR_nzcvq, ip
#else
- msr CPSR_f, #APSR_C
+ msr APSR_nzcvq, #APSR_C
#endif
JMP(lr)
#endif
@@ -115,11 +115,7 @@
movne ip, #(APSR_C)
1:
-#if defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7EM__)
msr APSR_nzcvq, ip
-#else
- msr CPSR_f, ip
-#endif
pop {r0-r3}
POP_PC()
#endif
Index: lib/builtins/arm/aeabi_cfcmp.S
===================================================================
--- lib/builtins/arm/aeabi_cfcmp.S
+++ lib/builtins/arm/aeabi_cfcmp.S
@@ -55,7 +55,7 @@
mov ip, #APSR_C
msr APSR_nzcvq, ip
#else
- msr CPSR_f, #APSR_C
+ msr APSR_nzcvq, #APSR_C
#endif
JMP(lr)
#endif
@@ -115,11 +115,7 @@
movne ip, #(APSR_C)
1:
-#if defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7EM__)
msr APSR_nzcvq, ip
-#else
- msr CPSR_f, ip
-#endif
pop {r0-r3}
POP_PC()
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51854.167963.patch
Type: text/x-patch
Size: 1156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181002/6aa33e91/attachment.bin>
More information about the llvm-commits
mailing list