On 2/12/19 3:02 AM, David Hildenbrand wrote: > Many things are wrong and some parts cannot be fixed yet. Fix what we > can fix easily and add two FIXMEs: > > The fpc flags are not updated in case an exception is actually injected. > Inexact exceptions have to be handled separately, as they are the only > exceptions that can coexist with underflows and overflows. > > I reread the horribly complicated chapters in the PoP at least 5 times > and hope I got it right. > > For references: > - z14 PoP, 9-18, "IEEE Exceptions" > - z14 PoP, 19-9, Figure 19-8 > > Signed-off-by: David Hildenbrand <da...@redhat.com> > --- > target/s390x/fpu_helper.c | 38 ++++++++++++++++++++++++++++++++------ > 1 file changed, 32 insertions(+), 6 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~