Skip to content

target-alpha fpu improvments

Richard Henderson qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest17 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17target-alpha: Move VAX helpers to a new filetarget-alpha/Makefile.objs target-alpha/fpu_helper.c target-alpha/vax_helper.c+354 -3290 replies
2/17target-alpha: Rename floating-point subroutinestarget-alpha/fpu_helper.c target-alpha/helper.h target-alpha/translate.c+36 -360 replies
3/17target-alpha: Forget installed round mode after MT_FPCRtarget-alpha/translate.c+5 -00 replies
4/17target-alpha: Set PC correctly for floating-point exceptionstarget-alpha/helper.c target-alpha/mem_helper.c+10 -10 replies
5/17target-alpha: Tidy FPCR representationtarget-alpha/cpu.h target-alpha/fpu_helper.c target-alpha/helper.c +2 more+159 -2430 replies
6/17target-alpha: Set fpcr_exc_status even for disabled exceptionstarget-alpha/fpu_helper.c target-alpha/translate.c+34 -290 replies
7/17target-alpha: Set EXC_M_SWC for exceptions from /S insnstarget-alpha/fpu_helper.c+3 -50 replies
8/17target-alpha: Raise IOV from CVTTQtarget-alpha/fpu_helper.c target-alpha/helper.h target-alpha/translate.c+13 -300 replies
9/17target-alpha: Fix cvttq vs large integerstarget-alpha/fpu_helper.c+5 -50 replies
10/17target-alpha: Fix cvttq vs inftarget-alpha/fpu_helper.c+1 -10 replies
11/17target-alpha: Fix integer overflow checking insnstarget-alpha/helper.h target-alpha/int_helper.c target-alpha/translate.c+56 -700 replies
12/17target-alpha: Implement WH64ENtarget-alpha/translate.c+4 -00 replies
13/17target-alpha: Disallow literal operand to 1C.30 to 1C.37target-alpha/translate.c+17 -20 replies
14/17target-alpha: Raise EXC_M_INV properly for fp inputstarget-alpha/fpu_helper.c target-alpha/helper.h target-alpha/translate.c+30 -100 replies
15/17target-alpha: Suppress underflow from CVTTQ if DNZtarget-alpha/fpu_helper.c+1 -10 replies
16/17target-alpha: Raise IOV from CVTQLtarget-alpha/fpu_helper.c target-alpha/helper.h target-alpha/translate.c+13 -320 replies
17/17target-alpha: Rewrite helper_zapnottarget-alpha/int_helper.c+12 -180 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 00/17] target-alpha fpu improvments

This is v2 of the work that Al Viro helped with nearly a year ago. At the time, I obsconded with an unused bit in the softfloat exception flags. Which was a bit of a wart, and rightly pointed out as such by someone at the time.

After 11 months on the shelf, I've finally found enough time to work out the bugs in the re-implementation of the fpcr. This time all of the bits are private to target-alpha, so no mucking about with the generic softfloat code.

r~

Richard Henderson (17):
target-alpha: Move VAX helpers to a new file
target-alpha: Rename floating-point subroutines
target-alpha: Forget installed round mode after MT_FPCR
target-alpha: Set PC correctly for floating-point exceptions
target-alpha: Tidy FPCR representation
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
target-alpha: Implement WH64EN
target-alpha: Disallow literal operand to 1C.30 to 1C.37
target-alpha: Raise EXC_M_INV properly for fp inputs
target-alpha: Suppress underflow from CVTTQ if DNZ
target-alpha: Raise IOV from CVTQL
target-alpha: Rewrite helper_zapnot

 target-alpha/Makefile.objs |   2 +-
 target-alpha/cpu.h         |  95 ++++----
 target-alpha/fpu_helper.c  | 530 +++++++++++----------------------------------
 target-alpha/helper.c      | 132 ++---------
 target-alpha/helper.h      |  14 +-
 target-alpha/int_helper.c  |  89 ++------
 target-alpha/mem_helper.c  |   9 +-
 target-alpha/translate.c   | 265 ++++++++++++-----------
 target-alpha/vax_helper.c  | 353 ++++++++++++++++++++++++++++++
 9 files changed, 715 insertions(+), 774 deletions(-)
 create mode 100644 target-alpha/vax_helper.c
Signature · 1 line
2.1.0