patch-2.4.23 linux-2.4.23/arch/m68k/math-emu/fp_emu.h
Next file: linux-2.4.23/arch/m68k/math-emu/fp_log.c
Previous file: linux-2.4.23/arch/m68k/kernel/ptrace.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
2003-11-28 10:26:19.000000000 -0800
- Orig file:
linux-2.4.22/arch/m68k/math-emu/fp_emu.h
- Orig date:
2002-08-02 17:39:43.000000000 -0700
diff -urN linux-2.4.22/arch/m68k/math-emu/fp_emu.h linux-2.4.23/arch/m68k/math-emu/fp_emu.h
@@ -115,6 +115,15 @@
__res; \
})
+#define fp_conv_long2ext(dest, src) ({ \
+ register struct fp_ext *__dest asm ("a0") = dest; \
+ register int __src asm ("d0") = src; \
+ \
+ asm volatile ("jsr fp_conv_ext2long" \
+ : : "d" (__src), "a" (__dest) \
+ : "a1", "d1", "d2", "memory"); \
+})
+
#else /* __ASSEMBLY__ */
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)