On 01/14/2013 10:14 AM, Torbjorn Granlund wrote:
Is it in such a state that grabbing that repo and building a qemu-system-x86_64 would give me MULX support?
Yes, and "-cpu Haswell" will enable the BMI extensions. A review of the code and docs reveals that I missed RORX from the BMI2 insns, but that's the only one I missed. Note that I also incorrectly set the overflow flag in several of the BMI insns. It ought to be 0, and I currently set it as if by a standard arithmetic insn. I can also suggest using "qemu-x86_64" for userland linux emulation, rather than full system emulation, for testing something as well-behaved as gmp. In partiular, the way memory accesses are translated is significantly faster.
I see. ADCX and ADOX are several years away, IIUC.
Yes, in the Broadwell shrink. r~