blob: 3ece81f181b64189a15dfa1b675874c9fbab7b50 [file] [log] [blame]
/* APPLE LOCAL file CW asm blocks */
/* { dg-do assemble { target i?86*-*-darwin* } } */
/* { dg-options { -fasm-blocks -msse3 } } */
/* Radar 4271787 */
inline int myrintf(float d)
{
int i;
asm {
fld d
fistp i
};
return i;
}
float d;
int i;
void foo() {
i = myrintf(d);
}