diff options
Diffstat (limited to 'gcc/config/c6x')
-rw-r--r-- | gcc/config/c6x/eqd.c | 47 | ||||
-rw-r--r-- | gcc/config/c6x/eqf.c | 47 | ||||
-rw-r--r-- | gcc/config/c6x/ged.c | 47 | ||||
-rw-r--r-- | gcc/config/c6x/gef.c | 47 | ||||
-rw-r--r-- | gcc/config/c6x/gtd.c | 47 | ||||
-rw-r--r-- | gcc/config/c6x/gtf.c | 47 | ||||
-rw-r--r-- | gcc/config/c6x/led.c | 47 | ||||
-rw-r--r-- | gcc/config/c6x/lef.c | 47 | ||||
-rw-r--r-- | gcc/config/c6x/ltd.c | 47 | ||||
-rw-r--r-- | gcc/config/c6x/ltf.c | 47 | ||||
-rw-r--r-- | gcc/config/c6x/t-c6x-elf | 15 | ||||
-rw-r--r-- | gcc/config/c6x/t-c6x-uclinux | 2 |
12 files changed, 0 insertions, 487 deletions
diff --git a/gcc/config/c6x/eqd.c b/gcc/config/c6x/eqd.c deleted file mode 100644 index d6b3201..0000000 --- a/gcc/config/c6x/eqd.c +++ /dev/null @@ -1,47 +0,0 @@ -/* Software floating-point emulation. - Return 1 iff a == b, 0 otherwise. - Copyright (C) 1997,1999,2006,2007,2011 Free Software Foundation, Inc. - Contributed by Richard Henderson (rth@cygnus.com) and - Jakub Jelinek (jj@ultra.linux.cz). - - This file is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - In addition to the permissions in the GNU Lesser General Public - License, the Free Software Foundation gives you unlimited - permission to link the compiled version of this file into - combinations with other programs, and to distribute those - combinations without any restriction coming from the use of this - file. (The Lesser General Public License restrictions do apply in - other respects; for example, they cover modification of the file, - and distribution when not linked into a combine executable.) - - This file is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with GCC; see the file COPYING.LIB. If not see - <http://www.gnu.org/licenses/>. */ - -#include <soft-fp/soft-fp.h> -#include <soft-fp/double.h> - -CMPtype __c6xabi_eqd(DFtype a, DFtype b) -{ - FP_DECL_EX; - FP_DECL_D(A); FP_DECL_D(B); - CMPtype r; - - FP_UNPACK_RAW_D(A, a); - FP_UNPACK_RAW_D(B, b); - FP_CMP_EQ_D(r, A, B); - if (r && (FP_ISSIGNAN_D(A) || FP_ISSIGNAN_D(B))) - FP_SET_EXCEPTION(FP_EX_INVALID); - FP_HANDLE_EXCEPTIONS; - - return !r; -} diff --git a/gcc/config/c6x/eqf.c b/gcc/config/c6x/eqf.c deleted file mode 100644 index ee6dafc..0000000 --- a/gcc/config/c6x/eqf.c +++ /dev/null @@ -1,47 +0,0 @@ -/* Software floating-point emulation. - Return 1 iff a == b, 0 otherwise. - Copyright (C) 1997,1999,2006,2007,2011 Free Software Foundation, Inc. - Contributed by Richard Henderson (rth@cygnus.com) and - Jakub Jelinek (jj@ultra.linux.cz). - - This file is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - In addition to the permissions in the GNU Lesser General Public - License, the Free Software Foundation gives you unlimited - permission to link the compiled version of this file into - combinations with other programs, and to distribute those - combinations without any restriction coming from the use of this - file. (The Lesser General Public License restrictions do apply in - other respects; for example, they cover modification of the file, - and distribution when not linked into a combine executable.) - - This file is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with GCC; see the file COPYING.LIB. If not see - <http://www.gnu.org/licenses/>. */ - -#include <soft-fp/soft-fp.h> -#include <soft-fp/single.h> - -CMPtype __c6xabi_eqf(SFtype a, SFtype b) -{ - FP_DECL_EX; - FP_DECL_S(A); FP_DECL_S(B); - CMPtype r; - - FP_UNPACK_RAW_S(A, a); - FP_UNPACK_RAW_S(B, b); - FP_CMP_EQ_S(r, A, B); - if (r && (FP_ISSIGNAN_S(A) || FP_ISSIGNAN_S(B))) - FP_SET_EXCEPTION(FP_EX_INVALID); - FP_HANDLE_EXCEPTIONS; - - return !r; -} diff --git a/gcc/config/c6x/ged.c b/gcc/config/c6x/ged.c deleted file mode 100644 index 2089904..0000000 --- a/gcc/config/c6x/ged.c +++ /dev/null @@ -1,47 +0,0 @@ -/* Software floating-point emulation. - Return 1 iff a >= b, 0 otherwise. - Copyright (C) 1997,1999,2006,2007,2011 Free Software Foundation, Inc. - Contributed by Richard Henderson (rth@cygnus.com) and - Jakub Jelinek (jj@ultra.linux.cz). - - This file is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - In addition to the permissions in the GNU Lesser General Public - License, the Free Software Foundation gives you unlimited - permission to link the compiled version of this file into - combinations with other programs, and to distribute those - combinations without any restriction coming from the use of this - file. (The Lesser General Public License restrictions do apply in - other respects; for example, they cover modification of the file, - and distribution when not linked into a combine executable.) - - This file is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with GCC; see the file COPYING.LIB. If not see - <http://www.gnu.org/licenses/>. */ - -#include <soft-fp/soft-fp.h> -#include <soft-fp/double.h> - -CMPtype __c6xabi_ged(DFtype a, DFtype b) -{ - FP_DECL_EX; - FP_DECL_D(A); FP_DECL_D(B); - CMPtype r; - - FP_UNPACK_RAW_D(A, a); - FP_UNPACK_RAW_D(B, b); - FP_CMP_D(r, A, B, -2); - if (r == -2 && (FP_ISSIGNAN_D(A) || FP_ISSIGNAN_D(B))) - FP_SET_EXCEPTION(FP_EX_INVALID); - FP_HANDLE_EXCEPTIONS; - - return r >= 0; -} diff --git a/gcc/config/c6x/gef.c b/gcc/config/c6x/gef.c deleted file mode 100644 index ce4c1c0..0000000 --- a/gcc/config/c6x/gef.c +++ /dev/null @@ -1,47 +0,0 @@ -/* Software floating-point emulation. - Return 1 iff a >= b, 0 otherwise. - Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc. - Contributed by Richard Henderson (rth@cygnus.com) and - Jakub Jelinek (jj@ultra.linux.cz). - - This file is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - In addition to the permissions in the GNU Lesser General Public - License, the Free Software Foundation gives you unlimited - permission to link the compiled version of this file into - combinations with other programs, and to distribute those - combinations without any restriction coming from the use of this - file. (The Lesser General Public License restrictions do apply in - other respects; for example, they cover modification of the file, - and distribution when not linked into a combine executable.) - - This file is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with GCC; see the file COPYING.LIB. If not see - <http://www.gnu.org/licenses/>. */ - -#include <soft-fp/soft-fp.h> -#include <soft-fp/single.h> - -CMPtype __c6xabi_gef(SFtype a, SFtype b) -{ - FP_DECL_EX; - FP_DECL_S(A); FP_DECL_S(B); - CMPtype r; - - FP_UNPACK_RAW_S(A, a); - FP_UNPACK_RAW_S(B, b); - FP_CMP_S(r, A, B, -2); - if (r == -2 && (FP_ISSIGNAN_S(A) || FP_ISSIGNAN_S(B))) - FP_SET_EXCEPTION(FP_EX_INVALID); - FP_HANDLE_EXCEPTIONS; - - return r >= 0; -} diff --git a/gcc/config/c6x/gtd.c b/gcc/config/c6x/gtd.c deleted file mode 100644 index 6d45aef..0000000 --- a/gcc/config/c6x/gtd.c +++ /dev/null @@ -1,47 +0,0 @@ -/* Software floating-point emulation. - Return 1 iff a > b, 0 otherwise. - Copyright (C) 1997,1999,2006,2007,2011 Free Software Foundation, Inc. - Contributed by Richard Henderson (rth@cygnus.com) and - Jakub Jelinek (jj@ultra.linux.cz). - - This file is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - In addition to the permissions in the GNU Lesser General Public - License, the Free Software Foundation gives you unlimited - permission to link the compiled version of this file into - combinations with other programs, and to distribute those - combinations without any restriction coming from the use of this - file. (The Lesser General Public License restrictions do apply in - other respects; for example, they cover modification of the file, - and distribution when not linked into a combine executable.) - - This file is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with GCC; see the file COPYING.LIB. If not see - <http://www.gnu.org/licenses/>. */ - -#include <soft-fp/soft-fp.h> -#include <soft-fp/double.h> - -CMPtype __c6xabi_gtd(DFtype a, DFtype b) -{ - FP_DECL_EX; - FP_DECL_D(A); FP_DECL_D(B); - CMPtype r; - - FP_UNPACK_RAW_D(A, a); - FP_UNPACK_RAW_D(B, b); - FP_CMP_D(r, A, B, -2); - if (r == -2 && (FP_ISSIGNAN_D(A) || FP_ISSIGNAN_D(B))) - FP_SET_EXCEPTION(FP_EX_INVALID); - FP_HANDLE_EXCEPTIONS; - - return r > 0; -} diff --git a/gcc/config/c6x/gtf.c b/gcc/config/c6x/gtf.c deleted file mode 100644 index c6a108a..0000000 --- a/gcc/config/c6x/gtf.c +++ /dev/null @@ -1,47 +0,0 @@ -/* Software floating-point emulation. - Return 1 iff a > b, 0 otherwise. - Copyright (C) 1997,1999,2006,2007,2011 Free Software Foundation, Inc. - Contributed by Richard Henderson (rth@cygnus.com) and - Jakub Jelinek (jj@ultra.linux.cz). - - This file is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - In addition to the permissions in the GNU Lesser General Public - License, the Free Software Foundation gives you unlimited - permission to link the compiled version of this file into - combinations with other programs, and to distribute those - combinations without any restriction coming from the use of this - file. (The Lesser General Public License restrictions do apply in - other respects; for example, they cover modification of the file, - and distribution when not linked into a combine executable.) - - This file is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with GCC; see the file COPYING.LIB. If not see - <http://www.gnu.org/licenses/>. */ - -#include <soft-fp/soft-fp.h> -#include <soft-fp/single.h> - -CMPtype __c6xabi_gtf(SFtype a, SFtype b) -{ - FP_DECL_EX; - FP_DECL_S(A); FP_DECL_S(B); - CMPtype r; - - FP_UNPACK_RAW_S(A, a); - FP_UNPACK_RAW_S(B, b); - FP_CMP_S(r, A, B, -2); - if (r == -2 && (FP_ISSIGNAN_S(A) || FP_ISSIGNAN_S(B))) - FP_SET_EXCEPTION(FP_EX_INVALID); - FP_HANDLE_EXCEPTIONS; - - return r > 0; -} diff --git a/gcc/config/c6x/led.c b/gcc/config/c6x/led.c deleted file mode 100644 index c99e29e..0000000 --- a/gcc/config/c6x/led.c +++ /dev/null @@ -1,47 +0,0 @@ -/* Software floating-point emulation. - Return 1 iff a <= b, 0 otherwise. - Copyright (C) 1997,1999,2006,2007,2011 Free Software Foundation, Inc. - Contributed by Richard Henderson (rth@cygnus.com) and - Jakub Jelinek (jj@ultra.linux.cz). - - This file is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - In addition to the permissions in the GNU Lesser General Public - License, the Free Software Foundation gives you unlimited - permission to link the compiled version of this file into - combinations with other programs, and to distribute those - combinations without any restriction coming from the use of this - file. (The Lesser General Public License restrictions do apply in - other respects; for example, they cover modification of the file, - and distribution when not linked into a combine executable.) - - This file is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with GCC; see the file COPYING.LIB. If not see - <http://www.gnu.org/licenses/>. */ - -#include <soft-fp/soft-fp.h> -#include <soft-fp/double.h> - -CMPtype __c6xabi_led(DFtype a, DFtype b) -{ - FP_DECL_EX; - FP_DECL_D(A); FP_DECL_D(B); - CMPtype r; - - FP_UNPACK_RAW_D(A, a); - FP_UNPACK_RAW_D(B, b); - FP_CMP_D(r, A, B, 2); - if (r == 2 && (FP_ISSIGNAN_D(A) || FP_ISSIGNAN_D(B))) - FP_SET_EXCEPTION(FP_EX_INVALID); - FP_HANDLE_EXCEPTIONS; - - return r <= 0; -} diff --git a/gcc/config/c6x/lef.c b/gcc/config/c6x/lef.c deleted file mode 100644 index ce2c16f..0000000 --- a/gcc/config/c6x/lef.c +++ /dev/null @@ -1,47 +0,0 @@ -/* Software floating-point emulation. - Return 1 iff a <= b, 0 otherwise. - Copyright (C) 1997,1999,2006,2007,2011 Free Software Foundation, Inc. - Contributed by Richard Henderson (rth@cygnus.com) and - Jakub Jelinek (jj@ultra.linux.cz). - - This file is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - In addition to the permissions in the GNU Lesser General Public - License, the Free Software Foundation gives you unlimited - permission to link the compiled version of this file into - combinations with other programs, and to distribute those - combinations without any restriction coming from the use of this - file. (The Lesser General Public License restrictions do apply in - other respects; for example, they cover modification of the file, - and distribution when not linked into a combine executable.) - - This file is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with GCC; see the file COPYING.LIB. If not see - <http://www.gnu.org/licenses/>. */ - -#include <soft-fp/soft-fp.h> -#include <soft-fp/single.h> - -CMPtype __c6xabi_lef(SFtype a, SFtype b) -{ - FP_DECL_EX; - FP_DECL_S(A); FP_DECL_S(B); - CMPtype r; - - FP_UNPACK_RAW_S(A, a); - FP_UNPACK_RAW_S(B, b); - FP_CMP_S(r, A, B, 2); - if (r == 2 && (FP_ISSIGNAN_S(A) || FP_ISSIGNAN_S(B))) - FP_SET_EXCEPTION(FP_EX_INVALID); - FP_HANDLE_EXCEPTIONS; - - return r <= 0; -} diff --git a/gcc/config/c6x/ltd.c b/gcc/config/c6x/ltd.c deleted file mode 100644 index d4de2586..0000000 --- a/gcc/config/c6x/ltd.c +++ /dev/null @@ -1,47 +0,0 @@ -/* Software floating-point emulation. - Return 1 iff a < b, 0 otherwise. - Copyright (C) 1997,1999,2006,2007,2011 Free Software Foundation, Inc. - Contributed by Richard Henderson (rth@cygnus.com) and - Jakub Jelinek (jj@ultra.linux.cz). - - This file is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - In addition to the permissions in the GNU Lesser General Public - License, the Free Software Foundation gives you unlimited - permission to link the compiled version of this file into - combinations with other programs, and to distribute those - combinations without any restriction coming from the use of this - file. (The Lesser General Public License restrictions do apply in - other respects; for example, they cover modification of the file, - and distribution when not linked into a combine executable.) - - This file is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with GCC; see the file COPYING.LIB. If not see - <http://www.gnu.org/licenses/>. */ - -#include <soft-fp/soft-fp.h> -#include <soft-fp/double.h> - -CMPtype __c6xabi_ltd(DFtype a, DFtype b) -{ - FP_DECL_EX; - FP_DECL_D(A); FP_DECL_D(B); - CMPtype r; - - FP_UNPACK_RAW_D(A, a); - FP_UNPACK_RAW_D(B, b); - FP_CMP_D(r, A, B, 2); - if (r == 2 && (FP_ISSIGNAN_D(A) || FP_ISSIGNAN_D(B))) - FP_SET_EXCEPTION(FP_EX_INVALID); - FP_HANDLE_EXCEPTIONS; - - return r < 0; -} diff --git a/gcc/config/c6x/ltf.c b/gcc/config/c6x/ltf.c deleted file mode 100644 index 2fe15b9..0000000 --- a/gcc/config/c6x/ltf.c +++ /dev/null @@ -1,47 +0,0 @@ -/* Software floating-point emulation. - Return 1 iff a < b, 0 otherwise. - Copyright (C) 1997,1999,2006,2007,2011 Free Software Foundation, Inc. - Contributed by Richard Henderson (rth@cygnus.com) and - Jakub Jelinek (jj@ultra.linux.cz). - - This file is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - In addition to the permissions in the GNU Lesser General Public - License, the Free Software Foundation gives you unlimited - permission to link the compiled version of this file into - combinations with other programs, and to distribute those - combinations without any restriction coming from the use of this - file. (The Lesser General Public License restrictions do apply in - other respects; for example, they cover modification of the file, - and distribution when not linked into a combine executable.) - - This file is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with GCC; see the file COPYING.LIB. If not see - <http://www.gnu.org/licenses/>. */ - -#include <soft-fp/soft-fp.h> -#include <soft-fp/single.h> - -CMPtype __c6xabi_ltf(SFtype a, SFtype b) -{ - FP_DECL_EX; - FP_DECL_S(A); FP_DECL_S(B); - CMPtype r; - - FP_UNPACK_RAW_S(A, a); - FP_UNPACK_RAW_S(B, b); - FP_CMP_S(r, A, B, 2); - if (r == 2 && (FP_ISSIGNAN_S(A) || FP_ISSIGNAN_S(B))) - FP_SET_EXCEPTION(FP_EX_INVALID); - FP_HANDLE_EXCEPTIONS; - - return r < 0; -} diff --git a/gcc/config/c6x/t-c6x-elf b/gcc/config/c6x/t-c6x-elf index 6bc2832..be52588 100644 --- a/gcc/config/c6x/t-c6x-elf +++ b/gcc/config/c6x/t-c6x-elf @@ -18,20 +18,8 @@ # along with GCC; see the file COPYING3. If not see # <http://www.gnu.org/licenses/>. -LIB2FUNCS_EXCLUDE = _cmpdi2 _ucmpdi2 _gcc_bcmp _eprintf _clzsi _clzdi EXTRA_HEADERS += $(srcdir)/ginclude/unwind-arm-common.h -LIB2FUNCS_EXTRA = $(srcdir)/config/c6x/gef.c \ - $(srcdir)/config/c6x/gtf.c \ - $(srcdir)/config/c6x/lef.c \ - $(srcdir)/config/c6x/ltf.c \ - $(srcdir)/config/c6x/eqf.c \ - $(srcdir)/config/c6x/ged.c \ - $(srcdir)/config/c6x/gtd.c \ - $(srcdir)/config/c6x/led.c \ - $(srcdir)/config/c6x/ltd.c \ - $(srcdir)/config/c6x/eqd.c - # Use this variant for fully testing all CPU types #MULTILIB_OPTIONS = mbig-endian march=c674x/march=c64x/march=c67x/march=c67x+/march=c62x #MULTILIB_DIRNAMES = be c674x c64x c67x c67x+ c62x @@ -40,6 +28,3 @@ MULTILIB_OPTIONS = mbig-endian march=c674x MULTILIB_DIRNAMES = be c674x MULTILIB_EXCEPTIONS = MULTILIB_MATCHES = - -# Avoid failures when the user's GOT becomes too large. -TARGET_LIBGCC2_CFLAGS = -msdata=none diff --git a/gcc/config/c6x/t-c6x-uclinux b/gcc/config/c6x/t-c6x-uclinux index c904f8f..e4b9390 100644 --- a/gcc/config/c6x/t-c6x-uclinux +++ b/gcc/config/c6x/t-c6x-uclinux @@ -1,5 +1,3 @@ MULTILIB_OSDIRNAMES = march.c674x=!c674x MULTILIB_OSDIRNAMES += mbig-endian=!be MULTILIB_OSDIRNAMES += mbig-endian/march.c674x=!be/c674x - -TARGET_LIBGCC2_CFLAGS = -fPIC -msdata=none |