Skip to content

Commit 3dcb70b

Browse files
committed
Don’t use a NEON instruction on ARM variants that don’t have NEON.
1 parent 77484cb commit 3dcb70b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

objc_msgSend.arm.S

+4
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,11 @@
115115
mov r0, 0
116116
mov r1, 0
117117
#ifndef __SOFTFP__
118+
# ifdef __ARM_NEON__
118119
vmov.i64 d0, #0 // Return 0 as a float / double
120+
# else
121+
fmdrr d0, r0, r1
122+
# endif
119123
#endif
120124
bx lr
121125
.fnend

0 commit comments

Comments
 (0)