bfin.opt (mfast-fp): Add.

* config/bfin/bfin.opt (mfast-fp): Add.
	* config/bfin/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Let
	libbffastfp override libgcc if -mfast-fp.
	* config/bfin/bfin.h (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
	* doc/invoke.texi (Option Summary): Mention -mfast-fp.
	(Blackfin Options): Document -mfast-fp.

From-SVN: r127757
This commit is contained in:
Jie Zhang 2007-08-24 02:36:34 +00:00 committed by Jie Zhang
parent 424a8b56b5
commit 2c117a21b0
5 changed files with 25 additions and 5 deletions

View File

@ -1,3 +1,12 @@
2007-08-24 Jie Zhang <jie.zhang@analog.com>
* config/bfin/bfin.opt (mfast-fp): Add.
* config/bfin/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Let
libbffastfp override libgcc if -mfast-fp.
* config/bfin/bfin.h (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
* doc/invoke.texi (Option Summary): Mention -mfast-fp.
(Blackfin Options): Document -mfast-fp.
2007-08-24 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/32573

View File

@ -89,9 +89,9 @@ extern int target_flags;
# define SUBTARGET_DRIVER_SELF_SPECS
#endif
#define LINK_GCC_C_SEQUENCE_SPEC \
"%{mfdpic:%{!static: %L} %{static: %G %L %G}} \
%{!mfdpic:%G %L %G}"
#define LINK_GCC_C_SEQUENCE_SPEC "\
%{mfast-fp:-lbffastfp} %G %L %{mfast-fp:-lbffastfp} %G \
"
/* A C string constant that tells the GCC driver program options to pass to
the assembler. It can also specify how to translate options you give to GNU

View File

@ -64,6 +64,10 @@ mlong-calls
Target Report Mask(LONG_CALLS)
Avoid generating pc-relative calls; use indirection
mfast-fp
Target Report Mask(FAST_FP)
Link with the fast floating-point library
mfdpic
Target Report Mask(FDPIC)
Enable Function Descriptor PIC mode

View File

@ -35,7 +35,8 @@ asm (TEXT_SECTION_ASM_OP);
#undef LINK_GCC_C_SEQUENCE_SPEC
#define LINK_GCC_C_SEQUENCE_SPEC \
"%{mfast-fp:-lbffastfp} %{static:--start-group} %G %L %{static:--end-group}%{!static:%G}"
"%{static:--start-group} %{mfast-fp:-lbffastfp} %G %L %{static:--end-group} \
%{!static:%{mfast-fp:-lbffastfp} %G}"
#undef LINK_SPEC
#define LINK_SPEC "\

View File

@ -450,7 +450,7 @@ Objective-C and Objective-C++ Dialects}.
-mstack-check-l1 -mid-shared-library -mno-id-shared-library @gol
-mshared-library-id=@var{n} -mleaf-id-shared-library @gol
-mno-leaf-id-shared-library -msep-data -mno-sep-data -mlong-calls @gol
-mno-long-calls}
-mno-long-calls -mfast-fp}
@emph{CRIS Options}
@gccoptlist{-mcpu=@var{cpu} -march=@var{cpu} -mtune=@var{cpu} @gol
@ -8612,6 +8612,12 @@ This feature is not enabled by default. Specifying
@option{-mno-long-calls} will restore the default behavior. Note these
switches have no effect on how the compiler generates code to handle
function calls via function pointers.
@item -mfast-fp
@opindex mfast-fp
Link with the fast floating-point library. This library relaxes some of
the IEEE floating-point standard's rules for checking inputs against
Not-a-Number (NAN), in the interest of performance.
@end table
@node CRIS Options