This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/33635] Bootstrap broken on mips-sgi-irix6.5



------- Comment #2 from rsandifo at gcc dot gnu dot org  2007-10-03 18:39 -------
Subject: Bug 33635

Author: rsandifo
Date: Wed Oct  3 18:39:30 2007
New Revision: 128991

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128991
Log:
gcc/
        PR target/33635
        * config/mips/mips-protos.h (mips_split_64bit_move): Rename to...
        (mips_split_doubleword_move): ...this.
        * config/mips/mips.c (mips_subword): Extend to handle 64-bit words;
        use natural endianness for multi-format FPR values.
        (mips_split_64bit_move): Rename to...
        (mips_split_doubleword_move): ...this and extend to 64-bit words.
        Use move_doubleword_fpr* patterns for moves involving FPRs.
        (mips_save_reg): Update the call to mips_split_64bit_move.
        (mips_secondary_reload_class): Return NO_REGS for any reload of a
        nonzero constant into an FPR if the constant can be forced to memory.
        * config/mips/mips.md: Update the splitter calls to
        mips_split_64bit_move.
        (UNSPEC_LOAD_DF_LOW): Rename to...
        (UNSPEC_LOAD_LOW): ...this.
        (UNSPEC_LOAD_DF_HIGH): Rename to...
        (UNSPEC_LOAD_HIGH): ...this.
        (UNSPEC_STORE_DF_HIGH): Rename to...
        (UNSPEC_STORE_WORD): ...this.
        (SPLITF): New mode iterator.
        (HALFMODE): New mode attribute.
        (movtf): New expander.
        (*movtf_internal): New define_insn_and_split.
        (move_doubleword_fpr<mode>): New expander.
        (load_df_low, load_df_high, store_df_high, mthc1, mfhc1): Replace
        with...
        (load_low<mode>, load_high<mode>, store_word<mode>, mthc1<mode>)
        (mfhc1<mode>): ...these more general patterns.

gcc/testsuite/
        PR target/33635
        * gcc.target/mips/mips.exp (setup_mips_tests): Set mips_isa_rev
        and mips_forced_be.
        (dg-mips-options): Handle -EL and -mel.  Make -mfp64 imply
        -mhard-float and a suitable ISA.  Improve handling of -mipsXrY
        options.
        * gcc.target/mips/fpr-moves-1.c: New test.
        * gcc.target/mips/fpr-moves-2.c: Likewise.
        * gcc.target/mips/fpr-moves-3.c: Likewise.
        * gcc.target/mips/fpr-moves-4.c: Likewise.
        * gcc.target/mips/fpr-moves-5.c: Likewise.
        * gcc.target/mips/fpr-moves-6.c: Likewise.
        * gcc.target/mips/mips32r2-mxhc1.c: Remove -march=mips32r2

Added:
    trunk/gcc/testsuite/gcc.target/mips/fpr-moves-1.c
    trunk/gcc/testsuite/gcc.target/mips/fpr-moves-2.c
    trunk/gcc/testsuite/gcc.target/mips/fpr-moves-3.c
    trunk/gcc/testsuite/gcc.target/mips/fpr-moves-4.c
    trunk/gcc/testsuite/gcc.target/mips/fpr-moves-5.c
    trunk/gcc/testsuite/gcc.target/mips/fpr-moves-6.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/mips/mips-protos.h
    trunk/gcc/config/mips/mips.c
    trunk/gcc/config/mips/mips.md
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/mips/mips.exp
    trunk/gcc/testsuite/gcc.target/mips/mips32r2-mxhc1.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33635


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]