ENTRY_TOCLESS (__isnan, 4)
CALL_MCOUNT 0
mffs fp0
+#if defined __clang__
+ mtfsb0 30 /* reset_fpscr_bit (FPSCR_VE) */
+#else
mtfsb0 4*cr6+lt /* reset_fpscr_bit (FPSCR_VE) */
+#endif
fcmpu cr7,fp1,fp1
mtfsf 255,fp0
li r3,0
compat_symbol (libc, isnan, isnanl, GLIBC_2_0);
# endif
#endif
-
#define ALIGNARG(log2) log2
#define ASM_SIZE_DIRECTIVE(name) .size name,.-name
+#if defined __clang__
+#define DOT_MACHINE(str)
+#else
+#define DOT_MACHINE(str) .machine str
+#endif
+
#else
/* Linux kernel powerpc documentation [1] states issuing a syscall inside a
R1 pointing at the dummy frame) state. We do have the ucontext
address in R3, so simply copy R3 to R1 before the syscall. */
L(do_sigret):
- mr r1,r3,
+ mr r1,r3
li r0,SYS_ify(rt_sigreturn)
sc
/* No return. */
R1 pointing at the dummy frame) state. We do have the ucontext
address in R3, so simply copy R3 to R1 before the syscall. */
L(do_sigret):
- mr r1,r3,
+ mr r1,r3
li r0,SYS_ify(rt_sigreturn)
sc
/* No return. */