mmx-4.c (dump64_64): Use printf %I64 on MinGW.

* gcc.target/i386/mmx-4.c (dump64_64): Use printf %I64 on MinGW.
	* gcc.target/i386/sse-6.c (dump128_64): Likewise.

From-SVN: r132691
This commit is contained in:
Joseph Myers 2008-02-26 23:40:46 +00:00 committed by Joseph Myers
parent 369239efc9
commit 36e2f1c132
3 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2008-02-26 Joseph Myers <joseph@codesourcery.com>
* gcc.target/i386/mmx-4.c (dump64_64): Use printf %I64 on MinGW.
* gcc.target/i386/sse-6.c (dump128_64): Likewise.
2008-02-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
PR c/28800

View file

@ -184,7 +184,11 @@ dump64_64 (char *buf, char *name, vecInWord x)
sprintf (p, "%s ", name);
p += strlen (p);
#if defined(_WIN32) && !defined(__CYGWIN__)
sprintf (p, "%16.16I64x\n", x.t);
#else
sprintf (p, "%16.16llx\n", x.t);
#endif
}
int

View file

@ -229,7 +229,11 @@ dump128_64 (char *buf, char *name, vecInLong x)
for (i=0; i<2; i++)
{
#if defined(_WIN32) && !defined(__CYGWIN__)
sprintf (p, "%16.16I64x ", x.u[i]);
#else
sprintf (p, "%16.16llx ", x.u[i]);
#endif
p += strlen (p);
}
strcat (p, "\n");