1 /* Test for complex asm statements. Make sure it compiles
2 then test for some of the asm statements not being translated. */
3 /* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } }
4 { dg-require-iconv "IBM1047" }
5 { dg-final { scan-assembler "std" } }
6 { dg-final { scan-assembler "cld" } }
7 { dg-final { scan-assembler "rep" } }
8 { dg-final { scan-assembler "movsb" } } */
11 memmove (void *__dest
, __const
void *__src
, size_t __n
)
13 register unsigned long int __d0
, __d1
, __d2
;
19 : "=&c" (__d0
), "=&S" (__d1
), "=&D" (__d2
)
20 : "0" (__n
), "1" (__src
), "2" (__dest
)
28 : "=&c" (__d0
), "=&S" (__d1
), "=&D" (__d2
)
29 : "0" (__n
), "1" (__n
- 1 + (const char *) __src
),
30 "2" (__n
- 1 + (char *) __dest
)