Re: [PATCH] Fix rounding bug in emulation for double float operating

2007-12-13 Thread Kumar Gala
On Dec 9, 2007, at 11:00 PM, Liu Yu wrote: > > This patch fixes rounding bug in emulation for double float > operating on PowerPC platform. > > When pack double float operand, it need to truncate the tail due to > the limited precision. > If the truncated part is not zero, the last bit of wor

Re: [PATCH] Fix rounding bug in emulation for double float operating

2007-12-09 Thread David Gibson
On Mon, Dec 10, 2007 at 01:00:52PM +0800, Liu Yu wrote: > > This patch fixes rounding bug in emulation for double float operating on > PowerPC platform. > > When pack double float operand, it need to truncate the tail due to the > limited precision. > If the truncated part is not zero, the las

[PATCH] Fix rounding bug in emulation for double float operating

2007-12-09 Thread Liu Yu
This patch fixes rounding bug in emulation for double float operating on PowerPC platform. When pack double float operand, it need to truncate the tail due to the limited precision. If the truncated part is not zero, the last bit of work bit (totally 3 bits) need to '|' 1. This patch is compl