PR target/30778
commit1a4d0a29f33705419e2d6feefcaf68987bf9cf46
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Feb 2007 17:37:37 +0000 (25 17:37 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Feb 2007 17:37:37 +0000 (25 17:37 +0000)
tree702fa38991981e1fd08b6c26850d0a110e9b3917
parent27387e551ef0e23c980dcd008cdec6a5da30ab1c
PR target/30778
* i386.c (counter_mode): New function.
(expand_set_or_movmem_via_loop): Use it.
(expand_movmem_epilogue): Likewise; fix pasto.
(ix86_expand_movmem): Do emit guard even for constant counts.
(ix86_expand_setmem): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122313 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr30778.c [new file with mode: 0644]