Commit 36e2f1c1 by Joseph Myers Committed by Joseph Myers

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
parent 369239ef
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
......@@ -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
......
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment