re PR target/22152 (Poor loop optimization when using mmx builtins)

PR target/22152
	* gcc.target/i386/pr22152.c (add3): Change "count" to unsigned int.

From-SVN: r163927
This commit is contained in:
Uros Bizjak 2010-09-06 19:54:46 +02:00 committed by Uros Bizjak
parent 61ec112322
commit a7529ed608
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-09-06 Uros Bizjak <ubizjak@gmail.com>
PR target/22152
* gcc.target/i386/pr22152.c (add3): Change "count" to unsigned int.
2010-09-06 Mark Mitchell <mark@codesourcery.com>
* g++.dg/warn/Wdouble-promotion.C: New.

View File

@ -4,7 +4,7 @@
#include <mmintrin.h>
__m64
unsigned_add3 (const __m64 * a, const __m64 * b, unsigned long count)
unsigned_add3 (const __m64 * a, const __m64 * b, unsigned int count)
{
__m64 sum;
unsigned int i;