Commit 2c117a21 by Jie Zhang Committed by Jie Zhang

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
parent 424a8b56
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> 2007-08-24 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/32573 PR tree-optimization/32573
......
...@@ -89,9 +89,9 @@ extern int target_flags; ...@@ -89,9 +89,9 @@ extern int target_flags;
# define SUBTARGET_DRIVER_SELF_SPECS # define SUBTARGET_DRIVER_SELF_SPECS
#endif #endif
#define LINK_GCC_C_SEQUENCE_SPEC \ #define LINK_GCC_C_SEQUENCE_SPEC "\
"%{mfdpic:%{!static: %L} %{static: %G %L %G}} \ %{mfast-fp:-lbffastfp} %G %L %{mfast-fp:-lbffastfp} %G \
%{!mfdpic:%G %L %G}" "
/* A C string constant that tells the GCC driver program options to pass to /* 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 the assembler. It can also specify how to translate options you give to GNU
......
...@@ -64,6 +64,10 @@ mlong-calls ...@@ -64,6 +64,10 @@ mlong-calls
Target Report Mask(LONG_CALLS) Target Report Mask(LONG_CALLS)
Avoid generating pc-relative calls; use indirection Avoid generating pc-relative calls; use indirection
mfast-fp
Target Report Mask(FAST_FP)
Link with the fast floating-point library
mfdpic mfdpic
Target Report Mask(FDPIC) Target Report Mask(FDPIC)
Enable Function Descriptor PIC mode Enable Function Descriptor PIC mode
......
...@@ -35,7 +35,8 @@ asm (TEXT_SECTION_ASM_OP); ...@@ -35,7 +35,8 @@ asm (TEXT_SECTION_ASM_OP);
#undef LINK_GCC_C_SEQUENCE_SPEC #undef LINK_GCC_C_SEQUENCE_SPEC
#define 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 #undef LINK_SPEC
#define LINK_SPEC "\ #define LINK_SPEC "\
......
...@@ -450,7 +450,7 @@ Objective-C and Objective-C++ Dialects}. ...@@ -450,7 +450,7 @@ Objective-C and Objective-C++ Dialects}.
-mstack-check-l1 -mid-shared-library -mno-id-shared-library @gol -mstack-check-l1 -mid-shared-library -mno-id-shared-library @gol
-mshared-library-id=@var{n} -mleaf-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-leaf-id-shared-library -msep-data -mno-sep-data -mlong-calls @gol
-mno-long-calls} -mno-long-calls -mfast-fp}
@emph{CRIS Options} @emph{CRIS Options}
@gccoptlist{-mcpu=@var{cpu} -march=@var{cpu} -mtune=@var{cpu} @gol @gccoptlist{-mcpu=@var{cpu} -march=@var{cpu} -mtune=@var{cpu} @gol
...@@ -8612,6 +8612,12 @@ This feature is not enabled by default. Specifying ...@@ -8612,6 +8612,12 @@ This feature is not enabled by default. Specifying
@option{-mno-long-calls} will restore the default behavior. Note these @option{-mno-long-calls} will restore the default behavior. Note these
switches have no effect on how the compiler generates code to handle switches have no effect on how the compiler generates code to handle
function calls via function pointers. 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 @end table
@node CRIS Options @node CRIS Options
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment