stores.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@173616
138bc75d-0d04-0410-961f-
82ee72b054a4
+2011-05-10 Nick Clifton <nickc@redhat.com>
+
+ * config/rx/rx.c (rx_memory_move_cost): Reduce the cost for
+ stores.
+
2011-05-10 DJ Delorie <dj@redhat.com>
* config/rx/rx.h (JUMP_ALIGN, LABEL_ALIGN, LOOP_ALIGN): Define.
static int
rx_memory_move_cost (enum machine_mode mode, reg_class_t regclass, bool in)
{
- return 2 + memory_move_secondary_cost (mode, regclass, in);
+ return (in ? 2:0) + memory_move_secondary_cost (mode, regclass, in);
}
/* Convert a CC_MODE to the set of flags that it represents. */