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-*-* } }
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 #if __cplusplus <= 201402L
16 unsigned long int __d0
, __d1
, __d2
;
22 : "=&c" (__d0
), "=&S" (__d1
), "=&D" (__d2
)
23 : "0" (__n
), "1" (__src
), "2" (__dest
)
31 : "=&c" (__d0
), "=&S" (__d1
), "=&D" (__d2
)
32 : "0" (__n
), "1" (__n
- 1 + (const char *) __src
),
33 "2" (__n
- 1 + (char *) __dest
)