[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] tcg-i386: Use MOVBE if available
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] tcg-i386: Use MOVBE if available |
Date: |
Sat, 21 Dec 2013 15:08:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9 |
Il 21/12/2013 00:00, Richard Henderson ha scritto:
> + if (real_bswap && have_movbe) {
> + tcg_out_modrm_offset(s, OPC_MOVBE_GyMy + P_DATA16 + seg,
> + datalo, base, ofs);
> + tcg_out_ext16u(s, datalo, datalo);
Do partial register stalls still exist on Atom and Haswell? I don't
remember exactly what you had to do to prevent them, but IIRC you first
moved zero to the register and then overwrote the the low 16 bits.
Paolo