Commit 600f3598 by Michael Matz

i386.md (movmemsi): Also active when TARGET_INLINE_ALL_STRINGOPS.

        * config/i386/i386.md (movmemsi): Also active when
        TARGET_INLINE_ALL_STRINGOPS.
        * gcc.dg/inline-mcpy.c: New test.

From-SVN: r99054
parent af650ada
2005-04-30 Michael Matz <matz@suse.de>
* config/i386/i386.md (movmemsi): Also active when
TARGET_INLINE_ALL_STRINGOPS.
2005-04-30 Eric Botcazou <ebotcazou@libertysurf.fr>
PR bootstrap/20633
......
......@@ -16984,7 +16984,7 @@
(use (match_operand:BLK 1 "memory_operand" ""))
(use (match_operand:SI 2 "nonmemory_operand" ""))
(use (match_operand:SI 3 "const_int_operand" ""))]
"! optimize_size"
"! optimize_size || TARGET_INLINE_ALL_STRINGOPS"
{
if (ix86_expand_movmem (operands[0], operands[1], operands[2], operands[3]))
DONE;
......
2005-04-30 Michael Maty <matz@suse.de>
* gcc.dg/inline-mcpy.c: New test.
2005-04-30 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/18958
......
/* Test if we inline memcpy even with -Os, when the user requested it. */
/* Don't name this test with memcpy in its name, otherwise the scan-assembler
would be confused. */
/* { dg-do compile { target i?86-*-linux* x86_64-*-linux* } } */
/* { dg-options "-Os -minline-all-stringops" } */
/* { dg-final { scan-assembler-not "memcpy" } } */
char f(int i)
{
char *ram_split[] = { "5:3", "3:1", "1:1", "3:5" };
return ram_split[i][0];
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment