* 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
+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
# 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
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
#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 "\
-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
@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