mips.h (GENERATE_MIPS16E): New definition.
authorDavid Ung <davidu@mips.com>
Wed, 15 Jun 2005 12:17:08 +0000 (12:17 +0000)
committerDavid Ung <davidu@gcc.gnu.org>
Wed, 15 Jun 2005 12:17:08 +0000 (12:17 +0000)
commit7cc63a88cba755a302ca3995039cfe852be3ee60
treed1107596f11cf882f13ae7c901022281d6a68534
parent9983270bec0a18f6230a5bdaf9a15f69da8e8baa
mips.h (GENERATE_MIPS16E): New definition.

* config/mips/mips.h (GENERATE_MIPS16E): New definition.
* config/mips/mips.md (zero_extend<SHORT:mode><GPR:mode>2):
Changed expand condition to exclude generating of "and" if
GENERATE_MIPS16E is true.
(*zero_extend<SHORT:mode><GPR:mode>2_mips16e): New pattern for
matching mips16e zeb/zeh.
(*extend<SHORT:mode><GPR:mode>2_mips16e): New pattern for matching
mips16e seb/seh.
(*extend<SHORT:mode><GPR:mode>2): Disable this pattern for
GENERATE_MIPS16E.
* doc/invoke.texi (MIPS Options): Add comment to -mips16
indicating MIPS16e ASE is used if targetting for MIPS32 or MIPS64.

From-SVN: r100979
gcc/ChangeLog
gcc/config/mips/mips.h
gcc/config/mips/mips.md
gcc/doc/invoke.texi