From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjxiJ-0004O4-HQ for qemu-devel@nongnu.org; Mon, 12 May 2014 17:24:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjxiE-0000ZB-MA for qemu-devel@nongnu.org; Mon, 12 May 2014 17:24:47 -0400 Received: from mail-qg0-x236.google.com ([2607:f8b0:400d:c04::236]:41857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjxiE-0000Z1-HB for qemu-devel@nongnu.org; Mon, 12 May 2014 17:24:42 -0400 Received: by mail-qg0-f54.google.com with SMTP id q108so8247934qgd.41 for ; Mon, 12 May 2014 14:24:42 -0700 (PDT) Sender: Richard Henderson Message-ID: <53713C16.4010303@twiddle.net> Date: Mon, 12 May 2014 14:24:38 -0700 From: Richard Henderson MIME-Version: 1.0 References: <40331399383189@web21g.yandex.ru> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] target-i386: fix handling of ZF in btx instructions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Dmitry Poletaev Cc: Paolo Bonzini , QEMU Developers On 05/07/2014 02:03 AM, Peter Maydell wrote: > On 6 May 2014 14:33, Dmitry Poletaev wrote: >> Eflags for bt/bts/btr/btc instructions compute as for shift(SAR) instructions. According to Intel A2 manual, for btx instructions zf is unaffected under any condition, but for SAR group, when evaluate eflags, we compute zf. > > Isn't this the same bug that's fixed by Richard Henderson's > patch from last month? > > http://patchwork.ozlabs.org/patch/337929/ Yes, thanks for the reminder. Sending pull now. r~