On Mon, Sep 9, 2013 at 9:42 AM, Michael V. Zolotukhin
<[email protected]> wrote:
>> OK,
>> Would you mind adding a testcase?
> Thanks, here is the patch with Eric's test.
> OK to commit?
>
> Changelog:
> gcc:
> 2013-09-09 Michael Zolotukhin <[email protected]>
>
> * config/i386/i386.c (ix86_expand_movmem): Fix epilogue generation.
>
> gcc/testsuite:
> 2013-09-09 Michael Zolotukhin <[email protected]>
>
> * gcc.target/i386/memcpy-2.c: New test.
+/* { dg-do run } */
+/* { dg-require-effective-target ia32 } */
+/* { dg-options "-O2 -march=pentiumpro -minline-all-stringops -fno-common" } */
Please use -mtune instead of -march.
Otherwise OK.
Thanks,
Uros.