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, testsuite, i386] BMI2's intrinsic for MULX instruction


Hi there,
I've prepared a patch which implements couple of intrinsics for
generation of MULX 32 and 64 bit wide (part of BMI2 extensions).
Tests are added as well

ChangeLog entry:
2011-09-21  Kirill Yukhin  <kirill.yukhin@intel.com>

	* config/i386/bmi2intrin.h (_mulx_u64): New.
	(_mulx_u32): Ditto.

testsuite/ChangeLog entry:
2011-09-21  Kirill Yukhin  <kirill.yukhin@intel.com>

	* gcc.target/i386/bmi2-mulx32-2.c: New test.
	* gcc.target/i386/bmi2-mulx32-2a.c: Ditto.
	* gcc.target/i386/bmi2-mulx64-2.c: Ditto.
	* gcc.target/i386/bmi2-mulx64-2a.c: Ditto.

Changes were bootstrapped, and make-checked. No new fails.
New tests are passing both with and without a simulator

Is it Ok for trunk?

--
Thanks, K

Attachment: bmi2.mulx-intrin.gcc.patch
Description: Binary data


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