Add support for some missing HVX IEEE fp instructions.

In v3:
- Rebased, reworded some comments from feedback.

In v2:
- moved tests into corresponding feature commits

v2: 
https://lore.kernel.org/qemu-devel/[email protected]/
v1: 
https://lore.kernel.org/qemu-devel/[email protected]/

Brian Cain (3):
  target/hexagon: add v79 HVX vcvt2 instructions
  target/hexagon: add v79 HVX FP8 instructions
  target/hexagon: add v81 HVX FP8 and qf16 conversions

 target/hexagon/mmvec/hvx_ieee_fp.h           |  35 ++
 target/hexagon/mmvec/macros.h                |  20 +
 target/hexagon/mmvec/mmvec.h                 |   1 +
 target/hexagon/attribs_def.h.inc             |   1 +
 target/hexagon/reg_fields_def.h.inc          |   1 +
 target/hexagon/genptr.c                      |   7 +-
 target/hexagon/mmvec/hvx_ieee_fp.c           | 146 +++++-
 tests/tcg/hexagon/check_rev_gating.c         |  30 ++
 tests/tcg/hexagon/fp_hvx_v79.c               | 443 +++++++++++++++++++
 tests/tcg/hexagon/qfloat_v81.c               | 111 +++++
 target/hexagon/tag_rev_info.c.inc            |  18 +
 target/hexagon/imported/mmvec/encode_ext.def |  18 +
 target/hexagon/imported/mmvec/ext.idef       | 117 +++++
 tests/tcg/hexagon/meson.build                |   2 +
 14 files changed, 944 insertions(+), 6 deletions(-)
 create mode 100644 tests/tcg/hexagon/fp_hvx_v79.c

-- 
2.34.1

Reply via email to