From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tup3D-0007Lw-JS for qemu-devel@nongnu.org; Mon, 14 Jan 2013 13:46:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tup35-0006Pt-53 for qemu-devel@nongnu.org; Mon, 14 Jan 2013 13:46:27 -0500 Received: from mail-qc0-f173.google.com ([209.85.216.173]:40670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tup35-0006Pl-1c for qemu-devel@nongnu.org; Mon, 14 Jan 2013 13:46:19 -0500 Received: by mail-qc0-f173.google.com with SMTP id b12so2695048qca.18 for ; Mon, 14 Jan 2013 10:46:18 -0800 (PST) Sender: Richard Henderson Message-ID: <50F45277.9070506@twiddle.net> Date: Mon, 14 Jan 2013 10:46:15 -0800 From: Richard Henderson MIME-Version: 1.0 References: <867gnlup4w.fsf@shell.gmplib.org> <50F1B339.9010709@twiddle.net> <86mwwbr5s5.fsf@shell.gmplib.org> In-Reply-To: <86mwwbr5s5.fsf@shell.gmplib.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] 3 new x86 instructions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Torbjorn Granlund Cc: Blue Swirl , qemu-devel@nongnu.org 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~