1 # Copyright (C) 2006-2024 Free Software Foundation, Inc. 2 # 3 # This file is part of GCC. 4 # 5 # GCC is free software; you can redistribute it and/or modify 6 # it under the terms of the GNU General Public License as published by 7 # the Free Software Foundation; either version 3, or (at your option) 8 # any later version. 9 # 10 # GCC is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 # GNU General Public License for more details. 14 # 15 # You should have received a copy of the GNU General Public License 16 # along with GCC; see the file COPYING3. If not see 17 # <http://www.gnu.org/licenses/>. 18 19 %ifndef _SOFT_FLOAT 20 %ifndef __powerpc64__ 21 %exclude { 22 __multc3 23 __divtc3 24 __powitf2 25 __fixtfdi 26 __fixunstfdi 27 __floatditf 28 } 29 30 GCC_4.1.0 { 31 # long double support 32 __multc3 33 __divtc3 34 __powitf2 35 __fixtfdi 36 __fixunstfdi 37 __floatditf 38 39 %else 40 GCC_3.4.4 { 41 %endif 42 %else 43 GCC_4.2.0 { 44 %endif 45 46 # long double support 47 __gcc_qadd 48 __gcc_qsub 49 __gcc_qmul 50 __gcc_qdiv 51 52 %ifdef _SOFT_DOUBLE 53 __gcc_qneg 54 __gcc_qeq 55 __gcc_qne 56 __gcc_qgt 57 __gcc_qge 58 __gcc_qlt 59 __gcc_qle 60 __gcc_stoq 61 __gcc_dtoq 62 __gcc_qtos 63 __gcc_qtod 64 __gcc_qtoi 65 __gcc_qtou 66 __gcc_itoq 67 __gcc_utoq 68 %endif 69 70 %ifdef __NO_FPRS__ 71 __gcc_qunord 72 %endif 73 } 74