From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fX9me-0001Mn-Kq for qemu-devel@nongnu.org; Sun, 24 Jun 2018 14:30:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fX9mb-00078r-HM for qemu-devel@nongnu.org; Sun, 24 Jun 2018 14:30:44 -0400 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]:43057) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fX9mb-000789-9b for qemu-devel@nongnu.org; Sun, 24 Jun 2018 14:30:41 -0400 Received: by mail-pg0-x241.google.com with SMTP id a14-v6so5062487pgw.10 for ; Sun, 24 Jun 2018 11:30:40 -0700 (PDT) References: <20180623022258.22158-1-programmingkidx@gmail.com> <1E63C3B2-7668-4D05-BC43-02E478FB493B@gmail.com> <4CC477CD-237F-480D-B9B5-B35FF507BD3C@gmail.com> From: Richard Henderson Message-ID: Date: Sun, 24 Jun 2018 11:30:36 -0700 MIME-Version: 1.0 In-Reply-To: <4CC477CD-237F-480D-B9B5-B35FF507BD3C@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] fix fdiv instruction List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Programmingkid Cc: david@gibson.dropbear.id.au, qemu-devel@nongnu.org, qemu-ppc@nongnu.org On 06/24/2018 06:46 AM, Programmingkid wrote: >> Even in your referenced PDF, table 3-13, it says that frD is unmodified. > > Actually it says when FPSCR[ZE] is set is when frD is unmodified. When FPSCR[ZE] is not set it frD's sign is determined by an XOR of the signs of the operands. I have verified that this is what happens on real PowerPC 750 and 950 CPUs. Of course. When ZE is not set, 1 / 0 -> inf (and -1 / 0 -> -inf, etc). But ZE not set is not the topic of discussion, or the subject of your patch. > I was just wondering are you able to run a PowerPC operating system in QEMU > in KVM mode on this Power7 computer? Sadly not. KVM is not enabled in this setup. r~