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

-- 
2.17.1

Reply via email to