qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Hexagon (target/hexagon) Additional instructions handled by


From: Anton Johansson
Subject: Re: [PATCH] Hexagon (target/hexagon) Additional instructions handled by idef-parser
Date: Tue, 11 Apr 2023 14:05:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0


On 4/7/23 22:52, Taylor Simpson wrote:
Currently, idef-parser skips all floating point instructions.  However,
there are some floating point instructions that can be handled.

The following instructions are now parsed
     F2_sfimm_p
     F2_sfimm_n
     F2_dfimm_p
     F2_dfimm_n
     F2_dfmpyll
     F2_dfmpylh

To make these instructions work, we fix some bugs in parser-helpers.c
     gen_rvalue_extend
     gen_cast_op

Test cases added to tests/tcg/hexagon/fpstuff.c

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
---
  target/hexagon/idef-parser/parser-helpers.c | 16 +++---
  tests/tcg/hexagon/fpstuff.c                 | 54 +++++++++++++++++++++
  target/hexagon/gen_idef_parser_funcs.py     | 10 +++-
  3 files changed, 72 insertions(+), 8 deletions(-)

This patch looks good, nice catch on the bugs!

Reviewed-by: Anton Johansson <anjo@rev.ng>
Tested-by: Anton Johansson <anjo@rev.ng>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]