mirror of git://sourceware.org/git/glibc.git
* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
isless, islessequal, islessgreater, isunordered): Return zero or one. Fri Mar 13 10:25:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered): Return zero or one.
This commit is contained in:
parent
5d409851a3
commit
41bc874bc5
|
@ -1,3 +1,9 @@
|
||||||
|
Fri Mar 13 10:25:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||||
|
|
||||||
|
* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
|
||||||
|
isless, islessequal, islessgreater, isunordered): Return zero or
|
||||||
|
one.
|
||||||
|
|
||||||
1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
|
1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
|
||||||
|
|
||||||
* posix/wordexp-test.c: More tests.
|
* posix/wordexp-test.c: More tests.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Definitions of inline math functions implemented by the m68881/2.
|
/* Definitions of inline math functions implemented by the m68881/2.
|
||||||
Copyright (C) 1991, 92, 93, 94, 96, 97 Free Software Foundation, Inc.
|
Copyright (C) 1991, 92, 93, 94, 96, 97, 98 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -30,42 +30,42 @@
|
||||||
({ char __result; \
|
({ char __result; \
|
||||||
__asm__ ("fcmp%.x %2,%1; fsogt %0" \
|
__asm__ ("fcmp%.x %2,%1; fsogt %0" \
|
||||||
: "=dm" (__result) : "f" (x), "f" (y)); \
|
: "=dm" (__result) : "f" (x), "f" (y)); \
|
||||||
(int) __result; })
|
__result != 0; })
|
||||||
|
|
||||||
# define isgreaterequal(x, y) \
|
# define isgreaterequal(x, y) \
|
||||||
__extension__ \
|
__extension__ \
|
||||||
({ char __result; \
|
({ char __result; \
|
||||||
__asm__ ("fcmp%.x %2,%1; fsoge %0" \
|
__asm__ ("fcmp%.x %2,%1; fsoge %0" \
|
||||||
: "=dm" (__result) : "f" (x), "f" (y)); \
|
: "=dm" (__result) : "f" (x), "f" (y)); \
|
||||||
(int) __result; })
|
__result != 0; })
|
||||||
|
|
||||||
# define isless(x, y) \
|
# define isless(x, y) \
|
||||||
__extension__ \
|
__extension__ \
|
||||||
({ char __result; \
|
({ char __result; \
|
||||||
__asm__ ("fcmp%.x %2,%1; fsolt %0" \
|
__asm__ ("fcmp%.x %2,%1; fsolt %0" \
|
||||||
: "=dm" (__result) : "f" (x), "f" (y)); \
|
: "=dm" (__result) : "f" (x), "f" (y)); \
|
||||||
(int) __result; })
|
__result != 0; })
|
||||||
|
|
||||||
# define islessequal(x, y) \
|
# define islessequal(x, y) \
|
||||||
__extension__ \
|
__extension__ \
|
||||||
({ char __result; \
|
({ char __result; \
|
||||||
__asm__ ("fcmp%.x %2,%1; fsole %0" \
|
__asm__ ("fcmp%.x %2,%1; fsole %0" \
|
||||||
: "=dm" (__result) : "f" (x), "f" (y)); \
|
: "=dm" (__result) : "f" (x), "f" (y)); \
|
||||||
(int) __result; })
|
__result != 0; })
|
||||||
|
|
||||||
# define islessgreater(x, y) \
|
# define islessgreater(x, y) \
|
||||||
__extension__ \
|
__extension__ \
|
||||||
({ char __result; \
|
({ char __result; \
|
||||||
__asm__ ("fcmp%.x %2,%1; fsogl %0" \
|
__asm__ ("fcmp%.x %2,%1; fsogl %0" \
|
||||||
: "=dm" (__result) : "f" (x), "f" (y)); \
|
: "=dm" (__result) : "f" (x), "f" (y)); \
|
||||||
(int) __result; })
|
__result != 0; })
|
||||||
|
|
||||||
# define isunordered(x, y) \
|
# define isunordered(x, y) \
|
||||||
__extension__ \
|
__extension__ \
|
||||||
({ char __result; \
|
({ char __result; \
|
||||||
__asm__ ("fcmp%.x %2,%1; fsun %0" \
|
__asm__ ("fcmp%.x %2,%1; fsun %0" \
|
||||||
: "=dm" (__result) : "f" (x), "f" (y)); \
|
: "=dm" (__result) : "f" (x), "f" (y)); \
|
||||||
(int) __result; })
|
__result != 0; })
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue