The changes that make QEMU behavior the same as hardware behavior (in relation to CEIL, CVT, FLOOR, ROUND, TRUNC Mips instructions) are already contained in this patch.
I just mentioned Mips-A / Mips-B / SoftFloat differences as an explanation/observation related to the change in this patch. Aleksandar ________________________________________ From: Maciej Rozycki Sent: Friday, June 10, 2016 3:35 AM To: Aleksandar Markovic Cc: Aleksandar Markovic; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Petar Jovanovic; [email protected]; Miodrag Dinic; [email protected]; [email protected]; Leon Alrae; [email protected]; Aurelien Jarno; [email protected] Subject: RE: [PATCH v6 8/9] target-mips: Add nan2008 flavor of <CEIL|CVT|FLOOR|ROUND|TRUNC>.<L|W>.<S|D> On Fri, 10 Jun 2016, Aleksandar Markovic wrote: > I referred to SoftFloat library in QEMU code, and the case "Operand is > smaller than INT_MIN" is different between SoftFloat and Mips-B, while > the case "Operand is a NaN" is different between SoftFloat and Mips-A. Ah, but then you just can and indeed need to fix it to match hardware. I had it done properly with the original patches I believe. Maciej
