blob: 96d1afc5b1a7f9e2940e4128c198d2275f942ebc [file] [log] [blame]
/* APPLE LOCAL file CW asm blocks */
/* { dg-do assemble { target i?86*-*-darwin* } } */
/* APPLE LOCAL x86_64 */
/* { dg-require-effective-target ilp32 } */
/* { dg-options { -fasm-blocks -msse3 } } */
/* Radar 4419735 */
void foo(short* pSrc) {
short oldcw;
asm {
mov esi, pSrc
fild [WORD PTR esi]
fild [WORD PTR esi + eax*2]
fstcw oldcw
fnstcw oldcw
}
}