On Wed, Sep 21, 2011 at 11:17 AM, Kirill Yukhin <kirill.yuk...@gmail.com> wrote: > 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
Comments at #else and #endif are now wrong. Also, please avoid -dp in the tests. Uros.