]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000.c (rs6000_parse_fpu_option): Interpret -mfpu options.
authorMichael J. Eager <eager@eagercon.com>
Sat, 11 Oct 2008 13:33:04 +0000 (13:33 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Sat, 11 Oct 2008 13:33:04 +0000 (09:33 -0400)
commit0bb7b92ee98354451d52a934b4ce1770c22887bd
tree13c993a0eb7619d78b505046f9c8c648d1f879d0
parent91a9632ca5578311dca3a5325ba59048324f4033
rs6000.c (rs6000_parse_fpu_option): Interpret -mfpu options.

2008-10-11  Michael J. Eager  <eager@eagercon.com>

        * config/rs6000/rs6000.c (rs6000_parse_fpu_option): Interpret
        -mfpu options.
        (rs6000_handle_option): Process -mfpu options.
        * config/rs6000/rs6000.h: (TARGET_XILINX_FPU): New.
        (enum fpu_type_t): New.
        * config/rs6000/rs6000.md (attr fp_type): New.
        Include xfpu.md.
        (addsf3, subsf3, mulsf3, adddf3, subdf3, muldf3, trunctfdf2): Set
        fp_type.
        (floatsisf2): Remove TARGET_SINGLE_FPU condition.
        (floatdidf2): Add TARGET_SINGLE_FPU condition.
        * config/rs6000/rs6000.opt (-mfpu): New.
        (-mxilinx-fpu): New.
        * config/rs6000/sysv4.h: (DRIVER_SELF_SPECS): New.
        * config/rs6000/xfpu.h: New. Define TARGET_XILINX_FPU.
        * config/rs6000/xfpu.md: New. Define Xilinx pipeline.
        * gcc/config.gcc: powerpc-xilinx-eabi target: New.
        * gcc/doc/invoke.texi (RS/6000 and PowerPC Options): Add -mfpu option.

From-SVN: r141059
gcc/ChangeLog
gcc/config.gcc
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/config/rs6000/rs6000.md
gcc/config/rs6000/sysv4.h
gcc/config/rs6000/xfpu.h [new file with mode: 0644]
gcc/config/rs6000/xfpu.md [new file with mode: 0644]
gcc/doc/invoke.texi