Skip to content

Hexagon bug fixes and additional tests

Taylor Simpson qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 11 repliesIn review
  2. v18 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12Hexagon (target/hexagon) fix bug in circular addressingtarget/hexagon/op_helper.c tests/tcg/hexagon/circ.c+6 -51 reply
2/12Hexagon HVX (target/hexagon) fix bug in HVX saturate instructionstarget/hexagon/macros.h tests/tcg/hexagon/hvx_misc.c+72 -31 reply
3/12Hexagon (target/hexagon) properly set FPINVF bit in sfcmp.uo and dfcmp.uotarget/hexagon/op_helper.c+2 -41 reply
4/12Hexagon (target/hexagon) properly handle SNaN in dfmin/dfmax/sfmin/sfmaxtarget/hexagon/op_helper.c+48 -61 reply
5/12Hexagon (target/hexagon) properly handle denorm in arch_sf_recip_commontarget/hexagon/arch.c target/hexagon/fma_emu.h tests/tcg/hexagon/fpstuff.c+49 -71 reply
6/12Hexagon (tests/tcg/hexagon) test instructions that might set bits in USRtests/tcg/hexagon/Makefile.target tests/tcg/hexagon/usr.c+809 -12 replies
7/12Hexagon (tests/tcg/hexagon) add floating point instructions to usr.ctests/tcg/hexagon/usr.c+339 -01 reply
8/12Hexagon (tests/tcg/hexagon) update overflow testtests/tcg/hexagon/overflow.c+60 -11 reply
9/12Hexagon (tests/tcg/hexagon) fix inline asm in preg_alias.ctests/tcg/hexagon/preg_alias.c+22 -240 replies
10/12Hexagon (target/hexagon) fix bug in conv_df2uw_choptarget/hexagon/op_helper.c tests/tcg/hexagon/usr.c+5 -11 reply
11/12Hexagon (target/hexagon) make VyV operands use a unique temptarget/hexagon/gen_tcg_funcs.py tests/tcg/hexagon/hvx_misc.c+49 -50 replies
12/12Hexagon (target/hexagon) assignment to c4 should wait until packet committarget/hexagon/genptr.c tests/tcg/hexagon/preg_alias.c+47 -51 reply

Reviews trailers per patch

10 of 12 patches have a Reviewed-by or Acked-by.

PatchMichael LambertRichard Henderson
1/12R-b
2/12R-b
3/12R-b
4/12
5/12R-b
6/12A-b
7/12A-b
8/12A-b
9/12R-b
10/12R-b
11/12
12/12Co-authored-by R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/12] Hexagon bug fixes and additional tests

Fix bugs reported from Hexagon users

There is a pattern of issues setting bits in user status register (USR), so I created new tests dedicated to instructions that might set USR.

******** Changes in v2 ********
Make the _chop versions of float-to-int conversions use :chop insns in usr.c Additional bug fixes
Fix inline asm in preg_alias test
Bug in conv_df2uw_chop
Make VyV operands use a unique temp
Assignment to c4 should wait until packet commit

Michael Lambert (1):
Hexagon (target/hexagon) fix bug in circular addressing

Taylor Simpson (11):
Hexagon HVX (target/hexagon) fix bug in HVX saturate instructions Hexagon (target/hexagon) properly set FPINVF bit in sfcmp.uo and
dfcmp.uo
Hexagon (target/hexagon) properly handle SNaN in
dfmin/dfmax/sfmin/sfmax
Hexagon (target/hexagon) properly handle denorm in
arch_sf_recip_common
Hexagon (tests/tcg/hexagon) test instructions that might set bits in
USR
Hexagon (tests/tcg/hexagon) add floating point instructions to usr.c Hexagon (tests/tcg/hexagon) update overflow test
Hexagon (tests/tcg/hexagon) fix inline asm in preg_alias.c Hexagon (target/hexagon) fix bug in conv_df2uw_chop Hexagon (target/hexagon) make VyV operands use a unique temp Hexagon (target/hexagon) assignment to c4 should wait until packet
commit

 target/hexagon/fma_emu.h          |    6 +-
 target/hexagon/macros.h           |    4 +-
 target/hexagon/arch.c             |    6 +-
 target/hexagon/genptr.c           |   14 +-
 target/hexagon/op_helper.c        |   68 +-
 tests/tcg/hexagon/circ.c          |    5 +-
 tests/tcg/hexagon/fpstuff.c       |   44 +-
 tests/tcg/hexagon/hvx_misc.c      |  116 ++-
 tests/tcg/hexagon/overflow.c      |   61 +-
 tests/tcg/hexagon/preg_alias.c    |   84 ++-
 tests/tcg/hexagon/usr.c           | 1145 +++++++++++++++++++++++++++++
 target/hexagon/gen_tcg_funcs.py   |    9 +-
 tests/tcg/hexagon/Makefile.target |    8 +-
 13 files changed, 1508 insertions(+), 62 deletions(-)
 create mode 100644 tests/tcg/hexagon/usr.c
Signature · 1 line
2.17.1