CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2012/03/28 14:57:42

Modified files:
        gnu/gcc/gcc/config/mips: openbsd.h 

Log message:
Default to -mfix-r4000 -mfix-r4400 when building in big endian mode. This is
a lifesaver for R4000 and R4400 operation; without these, every int->long
promotion occuring shortly after an integer multiplication (such as an array
element access when the array item size is not a power of two) loses horribly,
and panic^Whilarity ensues.

This mostly causes assembly insns to be shuffled, but almost no code size
growth and no noticeable performance hit on processors which do not need
these insn placement workarounds.

Reply via email to