Skip to content

target-alpha exception improvements

Richard Henderson qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest9 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9target-alpha: Forget installed round mode after MT_FPCRtarget-alpha/translate.c+5 -00 replies
2/9target-alpha: Set PC correctly for floating-point exceptionstarget-alpha/helper.c target-alpha/mem_helper.c+10 -10 replies
3/9target-alpha: Store IOV exception in fp_statusinclude/fpu/softfloat.h target-alpha/fpu_helper.c target-alpha/helper.c+16 -60 replies
4/9target-alpha: Set fpcr_exc_status even for disabled exceptionstarget-alpha/fpu_helper.c target-alpha/translate.c+51 -570 replies
5/9target-alpha: Set EXC_M_SWC for exceptions from /S insnstarget-alpha/fpu_helper.c+2 -30 replies
6/9target-alpha: Raise IOV from CVTTQtarget-alpha/fpu_helper.c target-alpha/helper.h target-alpha/translate.c+14 -290 replies
7/9target-alpha: Fix cvttq vs large integerstarget-alpha/fpu_helper.c+5 -50 replies
8/9target-alpha: Fix cvttq vs inftarget-alpha/fpu_helper.c+1 -20 replies
9/9target-alpha: Fix integer overflow checking insnstarget-alpha/helper.h target-alpha/int_helper.c target-alpha/translate.c+56 -700 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/9] target-alpha exception improvements

I never got around to actually posting v1, although I sent a link to the branch, buried in another thread. I've rebased the branch and added 3 more patches to cover more issued raised by Al since the v1.

I've used this to clean up all of the errors in glibc mainline wrt math/test-double.out, due to code that should have failed on real ev6 hw as well.

I still see a few spurrious underflow errors in math/test-float.out, and I believe it to be an error in float64_to_float32 wrt FLT_MIN, but I havn't had time to verify that.

Al and Peter, if you could run the mainline glibc math tests on real hardware, I'd be most grateful.

r~

Richard Henderson (9):
target-alpha: Forget installed round mode after MT_FPCR
target-alpha: Set PC correctly for floating-point exceptions
target-alpha: Store IOV exception in fp_status
target-alpha: Set fpcr_exc_status even for disabled exceptions
target-alpha: Set EXC_M_SWC for exceptions from /S insns
target-alpha: Raise IOV from CVTTQ
target-alpha: Fix cvttq vs large integers
target-alpha: Fix cvttq vs inf
target-alpha: Fix integer overflow checking insns

 include/fpu/softfloat.h   |  13 ++---
 target-alpha/fpu_helper.c |  91 +++++++++++++++++-----------------
 target-alpha/helper.c     |   8 +++
 target-alpha/helper.h     |   8 +--
 target-alpha/int_helper.c |  59 +---------------------
 target-alpha/mem_helper.c |   9 +++-
 target-alpha/translate.c  | 123 ++++++++++++++++++++++++++++------------------
 7 files changed, 149 insertions(+), 162 deletions(-)
Signature · 1 line
1.9.3