Hi, I've slightly updated mulx split to avoid ICE. Updated patch, ChangeLog entry (with Uros's contribution) and ChangeLog.testsuite entry are attached. Bootstrapped and make-checked. Tests all pass under simulator (expept one, but it is simulator issue). Uros, you asked if BMI2 is inherited from BMI. The answer is no, these 2 extensions are not connected. Is is OK? -- Thanks, K On Mon, Aug 22, 2011 at 12:45 PM, Uros Bizjak wrote: > On Sun, Aug 21, 2011 at 1:39 PM, Uros Bizjak wrote: > >> This is the third version of BMI2 support that includes generation of >> mulx, rorx, x part. This patch includes all comments on >> previous version, splits all insn post-reload, uses "enable" attribute >> and avoids new register modifiers. As a compromise (see previous >> posts), the mulx insn is now split post-reload into pattern that >> separates outputs (so, post-reload passes can do their job more >> effectively), with the hope that someday other DWI patterns will be >> rewritten in the same way. > > A small update that removes the need for "w" mode attribute. We can > convert count register to the correct mode in a splitter. > > Re-tested on x86_64-pc-linux-gnu {,-m32}. > > Uros. >