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.yuk...@intel.com>

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

testsuite/ChangeLog entry:
2011-09-21  Kirill Yukhin  <kirill.yuk...@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

Reply via email to