[PATCH, i386]: Fix recent i386 testsuite failures

Uros Bizjak ubizjak@gmail.com
Tue Apr 3 13:18:00 GMT 2007


Hello!

Attached patch fixes i386 testsuite failures [1], introduced by [2].
Functions with immediate arguments have to be implemented as macros,
otherwise "shift must be an immediate" error is generated.

Patch was bootstrapped and regression tested on i686-pc-linux-gnu.

2007-04-03  Uros Bizjak  <ubizjak@gmail.com>

	* config/i386/emmintrin.h (_mm_slli_epi16): Implement as macro.
	(_mm_slli_epi32): Ditto.
	(_mm_slli_epi64): Ditto.
	(_mm_srai_epi16): Ditto.
	(_mm_srai_epi32): Ditto.
	(_mm_srli_epi16): Ditto.
	(_mm_srli_epi32): Ditto.
	(_mm_srli_epi64): Ditto.

OK for mainline?

[1]: http://gcc.gnu.org/ml/gcc-patches/2007-03/msg01857.html
[2]: http://gcc.gnu.org/ml/gcc-patches/2007-03/msg01741.html

Uros.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i386-emmintrin.diff
Type: application/octet-stream
Size: 2795 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070403/2ff0c1c3/attachment.obj>


More information about the Gcc-patches mailing list