mips.md (JOIN_MODE): New mode iterator.
authorPrachi Godbole <prachigodbole@gcc.gnu.org>
Tue, 19 May 2015 05:06:03 +0000 (05:06 +0000)
committerPrachi Godbole <prachigodbole@gcc.gnu.org>
Tue, 19 May 2015 05:06:03 +0000 (05:06 +0000)
commitabf96035efcd29f72edbed125a2ac426f370a22c
treee51744c3c32fd1034653e5178845f10919db4250
parentfab27f52895115e2986e7bc6a3c376411f847df7
mips.md (JOIN_MODE): New mode iterator.

gcc/
* config/mips/mips.md (JOIN_MODE): New mode iterator.
(join2_load_Store<JOIN_MODE:mode>): New pattern.
(join2_loadhi): Likewise.
(define_peehole2): Add peephole2 patterns to join 2 HI/SI/SF/DF-mode
load-load and store-stores.
* config/mips/mips.opt (mload-store-pairs): New option.
(TARGET_LOAD_STORE_PAIRS): New macro.
* config/mips/mips.h (ENABLE_LD_ST_PAIRS): Likewise.
* config/mips/mips-protos.h (mips_load_store_bonding_p): New prototype.
* config/mips/mips.c (mips_load_store_bonding_p): New function.

gcc/testsuite/
* gcc.target/mips/p5600-bonding.c : New file.

From-SVN: r223334
gcc/ChangeLog
gcc/config/mips/mips-protos.h
gcc/config/mips/mips.c
gcc/config/mips/mips.h
gcc/config/mips/mips.md
gcc/config/mips/mips.opt
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/p5600-bonding.c [new file with mode: 0644]