summaryrefslogtreecommitdiff
path: root/gcc/real.h
Commit message (Collapse)AuthorAgeFilesLines
* * c-common.c (declare_function_name): Declare predefinied variablerth1998-12-011-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `__func__'. * c-decl.c (flag_isoc9x): Set to 1 by default. (c_decode_option): Handle -std= option. Remove -flang-isoc9x. (grokdeclarator): Always emit warning about implicit int for ISO C 9x. * c-parse.in: Allow constructors in ISO C 9x. Rewrite designator list handling. Allow [*] parameters. Don't warn about comma at end of enum definition for ISO C 9x. * cccp.c (c9x): New variable. (rest_extension): New variable. (print_help): Document new -std= option. (main): Recognize -std= option. Set c9x appropriately. (create_definition): Recognize ISO C 9x vararg macros. * gcc.c (default_compilers): Adjust specs for -std options. (option_map): Add --std. (display_help): Document -std. * toplev.c (documented_lang_options): Add -std and remove -flang-isoc9x. * c-lex.c (yylex): Recognize hex FP constants and call REAL_VALUE_ATOF or REAL_VALUE_HTOF based on base of the constants. * fold-const.c (real_hex_to_f): New function. Replacement function for hex FP conversion if REAL_ARITHMETIC is not defined. * real.c (asctoeg): Add handling of hex FP constants. * real.h: Define REAL_VALUE_HTOF if necessary using ereal_atof or real_hex_to_f. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24049 138bc75d-0d04-0410-961f-82ee72b054a4
* * print-rtl.c (print_rtx): Display the real-value equivalent oflaw1998-07-061-16/+26
| | | | | | | | | | | a const_double when easy. * real.h (REAL_VALUE_TO_TARGET_SINGLE): Use a union to pun types. Zero memory first for predictability. (REAL_VALUE_TO_TARGET_DOUBLE): Likewise. * varasm.c (immed_real_const_1): Notice width of H_W_I == double. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20972 138bc75d-0d04-0410-961f-82ee72b054a4
* * Check in merge from gcc2. See ChangeLog.12 for details.law1998-05-051-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19553 138bc75d-0d04-0410-961f-82ee72b054a4
* patch from paul eggert to fix -0.0/0.0 confusion that breaks glibcwilson1997-11-141-0/+7
| | | | | | | | | | | | | | * real.h (REAL_VALUES_IDENTICAL): New macro. * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros. * fold-const.c (operand_equal_p): Don't consider -0.0 to be identical to 0.0. * tree.c (simple_cst_equal): Don't consider -0.0 to have the same tree structure as 0.0. * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL macro instead of doing it by hand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16472 138bc75d-0d04-0410-961f-82ee72b054a4
* Update mainline egcs to gcc2 snapshot 971021.law1997-11-021-8/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16278 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.h, real.h: Finish prototyping.law1997-08-191-5/+17
| | | | | | | Some of hj's prototyping stuff after minor formatting fixes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14846 138bc75d-0d04-0410-961f-82ee72b054a4
* * version.c: Bump version to "gcc-3.0.0 970802 experimental".law1997-08-121-0/+8
| | | | | | | | | | | | | * gcc.info*: Rebuilt. * COPYING.g77, README.g77: New files. * real.c (ereal_unto_float, ereal_unto_double): New functions. * real.h (ereal_unto_float, ereal_unto_double): Declare them. (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define. Get g77 to work with gcc3. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14776 138bc75d-0d04-0410-961f-82ee72b054a4
* (exact_real_inverse): Declare.kenner1996-10-231-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13003 138bc75d-0d04-0410-961f-82ee72b054a4
* (ereal_from_{int,uint}): Add new arg, MODE.kenner1996-04-141-6/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11764 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kenner1995-06-151-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9964 138bc75d-0d04-0410-961f-82ee72b054a4
* Check target endianness at run time, not compile timeian1994-11-161-10/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8470 138bc75d-0d04-0410-961f-82ee72b054a4
* Cast pointer operands to bzero, bcopy, and bcmp to (char *).kenner1994-06-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7472 138bc75d-0d04-0410-961f-82ee72b054a4
* (significand_size): Declare.kenner1994-05-301-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7388 138bc75d-0d04-0410-961f-82ee72b054a4
* (REAL_VALUE_FROM_TARGET_SINGLE, .._DOUBLE): Change arg from long tokenner1994-05-161-4/+5
| | | | | | | HOST_WIDE_INT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7311 138bc75d-0d04-0410-961f-82ee72b054a4
* Add prototypes to declarations of functions in real.c.kenner1994-04-211-12/+31
| | | | | | | (immed_real_const_1): Move declaration from rtl.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7108 138bc75d-0d04-0410-961f-82ee72b054a4
* (FLOAT_WORDS_BIG_ENDIAN): New macro.kenner1993-10-131-6/+29
| | | | | | | | | | (HOST_FLOAT_WORDS_BIG_ENDIAN): Likewise, for host. (REAL_VALUE_TO_TARGET_DOUBLE (default version)): Use them. (efixi, efixui): Return HOST_WIDE_INT. (REAL_VALUE_FROM_INT): Cast inputs to HOST_WIDE_INT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5775 138bc75d-0d04-0410-961f-82ee72b054a4
* (REAL_VALUE_TYPE): Define array at least 20 bytes widewilson1993-08-131-13/+42
| | | | | | | | | | | if LONG_DOUBLE_TYPE_SIZE is 128 bits. (etartdouble): Declare and use for REAL_VALUE_TO_TARGET_LONG_DOUBLE when long double is TFmode. (REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX): Must always round towards zero. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5152 138bc75d-0d04-0410-961f-82ee72b054a4
* (REAL_VALUE_FROM_TARGET_SINGLE): New macro.rms1993-06-131-1/+5
| | | | | | | (REAL_VALUE_FROM_TARGET_DOUBLE): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4671 138bc75d-0d04-0410-961f-82ee72b054a4
* (REAL_VALUES_LESS): True if return value of ereal_cmp is -1.rms1993-05-091-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4402 138bc75d-0d04-0410-961f-82ee72b054a4
* If REAL_ARITHMETIC is defined or if LONG_DOUBLE_TYPE_SIZErms1993-03-311-14/+139
| | | | | | | | | | | | | | | is 96, then define REAL_VALUE_ macros to invoke functions in real.c. (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): New macros truncate toward zero to integer value but return REAL_VALUE_TYPE. (REAL_VALUE_TO_DECIMAL): New macro defaults to fprintf if no REAL_ARITHMETIC, otherwise uses real.c for binary to decimal conversion. Used in ASM_OUTPUT_ macros. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3934 138bc75d-0d04-0410-961f-82ee72b054a4
* entered into RCSmycroft1992-07-061-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1466 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-06-221-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1232 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-05-271-0/+28
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1097 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-03-281-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@604 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***wood1992-03-191-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@523 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-02-031-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@273 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionrms1991-12-011-0/+192
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94 138bc75d-0d04-0410-961f-82ee72b054a4