Move some helper functions of predicates and constraints to nds32-predicates.c module.
authorChung-Ju Wu <jasonwucj@gmail.com>
Fri, 4 Jul 2014 07:30:04 +0000 (07:30 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Fri, 4 Jul 2014 07:30:04 +0000 (07:30 +0000)
commit6a2a98b1a658893ecb790c90614900d7bf8bd022
treea53035313feca19b44de973887d95dc9c58a04e1
parentaaa44d2d0bb56f15efc400c66415dce03a8f2da2
Move some helper functions of predicates and constraints to nds32-predicates.c module.

gcc/
* config/nds32/nds32.c
(nds32_consecutive_registers_load_store_p): Move to ...
(nds32_valid_multiple_load_store): Move to ...
(nds32_valid_stack_push_pop): Move to ...
(nds32_can_use_bclr_p): Move to ...
(nds32_can_use_bset_p): Move to ...
(nds32_can_use_btgl_p): Move to ...
(nds32_can_use_bitci_p): Move to ...
* config/nds32/nds32-predicates.c: ... here.

Co-Authored-By: Kito Cheng <kito@0xlab.org>
Co-Authored-By: Monk Chiang <sh.chiang04@gmail.com>
From-SVN: r212283
gcc/ChangeLog
gcc/config/nds32/nds32-predicates.c
gcc/config/nds32/nds32.c