diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2007-04-03 09:37:56 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2007-04-03 09:37:56 +0200 |
commit | 577565f9349ec94277f1867077056df1f59427f4 (patch) | |
tree | 9ef0f139d7178683b8cd1dc53dbd0d6d07b7a86b /gcc/doc | |
parent | 8854e14c61b79559e4c3cb5c251149071bbfee45 (diff) | |
download | gcc-577565f9349ec94277f1867077056df1f59427f4.zip gcc-577565f9349ec94277f1867077056df1f59427f4.tar.gz gcc-577565f9349ec94277f1867077056df1f59427f4.tar.bz2 |
config.gcc (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
* config.gcc (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
(x86_64-*-linux*): Ditto.
* config/i386/i386.opt (mpc): New option.
* config/i386/i386.c (overrride_options): Handle
ix87_precision_string.
* config/i386/crtprec.c: New file.
* config/i386/t-crtpc: Ditto.
* config/i386/linux.h (ENDFILE_SPEC): Add handling of -mpc32, -mpc64
and -mpc80 options.
* config/i386/linux64.h (ENDFILE_SPEC): Ditto.
* config/i386/t-linux64 (EXTRA_MULTILIB_PARTS): Add
crtprec32.o, crtprec64.o and crtprec80.o.
* doc/invoke.texi (Machine Dependent Options): Add -mpc32, -mpc64
and -mpc80 options.
(i386 and x86-64 Options): Document -mpc32, -mpc64 and -mpc80 options.
libgcc/ChangeLog:
* config/i386/t-crtpc: New file.
* config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
(x86_64-*-linux*): Ditto.
From-SVN: r123450
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index ff42a08..e66977a 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -548,7 +548,7 @@ Objective-C and Objective-C++ Dialects}. -mthreads -mno-align-stringops -minline-all-stringops @gol -mpush-args -maccumulate-outgoing-args -m128bit-long-double @gol -m96bit-long-double -mregparm=@var{num} -msseregparm @gol --mstackrealign @gol +-mpc32 -mpc64 -mpc80 mstackrealign @gol -momit-leaf-frame-pointer -mno-red-zone -mno-tls-direct-seg-refs @gol -mcmodel=@var{code-model} @gol -m32 -m64 -mlarge-data-threshold=@var{num}} @@ -10018,6 +10018,21 @@ function by using the function attribute @samp{sseregparm}. modules with the same value, including any libraries. This includes the system libraries and startup modules. +@item -mpc32 +@itemx -mpc64 +@itemx -mpc80 +@opindex mpc32 +@opindex mpc64 +@opindex mpc80 + +Set 80387 floating-point precision to 32, 64 or 80 bits. When @option{-mpc32} +is specified, the significand of floating-point operations is rounded to 24 +bits (single precision), @option{-mpc64} rounds the significand of +floating-point operations to 53 bits (double precision) and @option{-mpc80} +rounds the significand of floating-point operations to 64 bits (extended +double precision). Note that a change of default precision control may +affect the results returned by some of the mathematical functions. + @item -mstackrealign @opindex mstackrealign Realign the stack at entry. On the Intel x86, the |