Regression [v850,mep...]: sign_extend in loop breaks zero-overhead loop generation
Andreas Schwab
schwab@linux-m68k.org
Thu Jan 30 15:19:00 GMT 2014
Paulo Matos <pmatos@broadcom.com> writes:
> If instead I write:
> void
> foo (short blockSize)
> {
> short i;
> unsigned short loopCount;
> loopCount = (unsigned short) (blockSize + delayLength) % 8;
> for (i = 0; i < loopCount; i++)
> *temp_ptr++ = x ^ *temp_ptr;
> }
This is still undefined.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Gcc
mailing list