[compiler-rt] r291591 - builtins: repair __gtsf2 after SVN r291396
Saleem Abdulrasool via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 10 11:48:50 PST 2017
Author: compnerd
Date: Tue Jan 10 13:48:50 2017
New Revision: 291591
URL: http://llvm.org/viewvc/llvm-project?rev=291591&view=rev
Log:
builtins: repair __gtsf2 after SVN r291396
The argument adjustment was accidentally removed, resulting in the use
of stale register values.
Modified:
compiler-rt/trunk/lib/builtins/arm/comparesf2.S
Modified: compiler-rt/trunk/lib/builtins/arm/comparesf2.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/comparesf2.S?rev=291591&r1=291590&r2=291591&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/comparesf2.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/comparesf2.S Tue Jan 10 13:48:50 2017
@@ -215,6 +215,8 @@ LOCAL_LABEL(CHECK_NAN_2):
6:
pop {r6, pc}
#else
+ mov r2, r0, lsl #1
+ mov r3, r1, lsl #1
orrs r12, r2, r3, lsr #1
it ne
eorsne r12, r0, r1
More information about the llvm-commits
mailing list