diff options
author | Prachi Godbole <prachigodbole@gcc.gnu.org> | 2015-05-19 05:06:03 +0000 |
---|---|---|
committer | Prachi Godbole <prachigodbole@gcc.gnu.org> | 2015-05-19 05:06:03 +0000 |
commit | abf96035efcd29f72edbed125a2ac426f370a22c (patch) | |
tree | e51744c3c32fd1034653e5178845f10919db4250 /gcc/config/mips/mips-protos.h | |
parent | fab27f52895115e2986e7bc6a3c376411f847df7 (diff) | |
download | gcc-abf96035efcd29f72edbed125a2ac426f370a22c.zip gcc-abf96035efcd29f72edbed125a2ac426f370a22c.tar.gz gcc-abf96035efcd29f72edbed125a2ac426f370a22c.tar.bz2 |
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
Diffstat (limited to 'gcc/config/mips/mips-protos.h')
-rw-r--r-- | gcc/config/mips/mips-protos.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/mips/mips-protos.h b/gcc/config/mips/mips-protos.h index b48e04f..244eb8d 100644 --- a/gcc/config/mips/mips-protos.h +++ b/gcc/config/mips/mips-protos.h @@ -360,6 +360,7 @@ extern bool mips_epilogue_uses (unsigned int); extern void mips_final_prescan_insn (rtx_insn *, rtx *, int); extern int mips_trampoline_code_size (void); extern void mips_function_profiler (FILE *); +extern bool mips_load_store_bonding_p (rtx *, machine_mode, bool); typedef rtx (*mulsidi3_gen_fn) (rtx, rtx, rtx); #ifdef RTX_CODE |