qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
To: qemu-devel@nongnu.org
Cc: rth@twiddle.net
Subject: [Qemu-devel] [PATCH v2 0/5]
Date: Mon,  7 Nov 2016 15:44:40 +0100	[thread overview]
Message-ID: <20161107144445.14069-1-kbastian@mail.uni-paderborn.de> (raw)

Hi,

this series was originally posted by Peer Adelt some time ago[1], but still had
some problems which I tried to fix with this patch set.

The tricky bits here were the FTOUZ and MADD/MSUB.F instructions. The latter 
had the problem of not giving back the correct NAN when the result of the 
add/sub of muladd/sub was invalid. I addressed that by fixing up the value 
later, which feels hacky. I feel the better solution would be extending 
softfloat to recognize ADD_NAN's and emitting the correct NAN there. On the 
other hand it's a change in softfloat for a small edge case. Any comments on
that?

Additionally this patch set adds the UPDFL instructions.

Cheers,
    Bastian

[1] http://lists.nongnu.org/archive/html/qemu-devel/2016-06/msg01936.html

v1 -> v2:
    - ftouz: Correctly convert the result from uint32 to f32

Bastian Koppelmann (3):
  target-tricore: Added FTOUZ instruction
  target-tricore: Added MADD.F and MSUB.F instructions
  target-tricore: Add updfl instruction

Peer Adelt (2):
  target-tricore: Added new MOV instruction variant
  target-tricore: Added new JNE instruction variant

 target-tricore/fpu_helper.c      | 148 ++++++++++++++++++++++++++++++++++++++-
 target-tricore/helper.h          |   4 ++
 target-tricore/translate.c       |  47 +++++++++++++
 target-tricore/tricore-opcodes.h |   3 +
 4 files changed, 201 insertions(+), 1 deletion(-)

-- 
2.10.2

             reply	other threads:[~2016-11-07 14:45 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-07 14:44 Bastian Koppelmann [this message]
2016-11-07 14:44 ` [Qemu-devel] [PATCH v2 1/5] target-tricore: Added FTOUZ instruction Bastian Koppelmann
2016-11-08 11:36   ` Richard Henderson
2016-11-08 13:37     ` Bastian Koppelmann
2016-11-08 15:06       ` Richard Henderson
2016-11-08 15:12         ` Bastian Koppelmann
2016-11-08 15:25           ` Richard Henderson
2016-11-09 15:46             ` Bastian Koppelmann
2016-11-07 14:44 ` [Qemu-devel] [PATCH v2 2/5] target-tricore: Added MADD.F and MSUB.F instructions Bastian Koppelmann
2016-11-08 11:42   ` Richard Henderson
2016-11-08 15:08     ` Bastian Koppelmann
2016-11-08 15:10       ` Richard Henderson
2016-11-07 14:44 ` [Qemu-devel] [PATCH v2 3/5] target-tricore: Added new MOV instruction variant Bastian Koppelmann
2016-11-08 11:44   ` Richard Henderson
2016-11-07 14:44 ` [Qemu-devel] [PATCH v2 4/5] target-tricore: Added new JNE " Bastian Koppelmann
2016-11-07 14:44 ` [Qemu-devel] [PATCH v2 5/5] target-tricore: Add updfl instruction Bastian Koppelmann
2016-11-08 11:49   ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
2011-11-17 13:22 [Qemu-devel] [[PATCH V2] 0/5] Benoît Canet
2011-11-17 16:02 ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161107144445.14069-1-kbastian@mail.uni-paderborn.de \
    --to=kbastian@mail.uni-paderborn.de \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).