diff options
author | Monk Chiang <sh.chiang04@gmail.com> | 2018-05-27 16:18:24 +0000 |
---|---|---|
committer | Chung-Ju Wu <jasonwucj@gcc.gnu.org> | 2018-05-27 16:18:24 +0000 |
commit | 8889fbe5424f437f504901a659ebcc772066a478 (patch) | |
tree | 7a29d461fbb70054bce48b789e09a4a04a4a3a53 /gcc/fortran/decl.c | |
parent | 0be3bad7054256f009a066cce34b4cca12f3b86f (diff) | |
download | gcc-8889fbe5424f437f504901a659ebcc772066a478.zip gcc-8889fbe5424f437f504901a659ebcc772066a478.tar.gz gcc-8889fbe5424f437f504901a659ebcc772066a478.tar.bz2 |
[NDS32] Optimize movmem and setmem operations.
gcc/
* config/nds32/nds32-intrinsic.md (unaligned_storedi): Modify patterns
implementation.
(unaligned_store_dw): Ditto.
* config/nds32/nds32-memory-manipulation.c
(nds32_expand_movmemsi_loop_known_size): Refactoring implementation.
(nds32_gen_dup_4_byte_to_word_value): Rename to ...
(nds32_gen_dup_4_byte_to_word_value_aux): ... this.
(emit_setmem_word_loop): Rename to ...
(emit_setmem_doubleword_loop): ... this.
(nds32_gen_dup_4_byte_to_word_value): New function.
(nds32_gen_dup_8_byte_to_double_word_value): New function.
(nds32_expand_setmem_loop): Refine implementation.
(nds32_expand_setmem_loop_v3m): Ditto.
* config/nds32/nds32-multiple.md (unaligned_store_update_base_dw): New
pattern.
Co-Authored-By: Chung-Ju Wu <jasonwucj@gmail.com>
From-SVN: r260805
Diffstat (limited to 'gcc/fortran/decl.c')
0 files changed, 0 insertions, 0 deletions