This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, i386]: Fix recent i386 testsuite failures


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.

Attachment: i386-emmintrin.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]