|
From: | Tristan Gingold |
Subject: | Re: [Qemu-devel] [PATCH] ppc32 guests: fix computation of XER.{CA, OV} in addme, subfme, mullwo |
Date: | Wed, 18 Jun 2008 18:13:05 -0400 |
On Jun 17, 2008, at 6:06 PM, Julian Seward wrote:
Below is a test case showing the problem with mullwo, addme and subfme. On a real 7447 it prints
addme 00000000 XER.CA=1 = 00000000 (cr 00000000 xer 20000000)
Did I miss the obvious, but why does 0 + 1 - 1 generate a carry ?
[Prev in Thread] | Current Thread | [Next in Thread] |