[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/5] Added 7 instructions to the tricore target
From: |
Bastian Koppelmann |
Subject: |
[Qemu-devel] [PATCH 0/5] Added 7 instructions to the tricore target |
Date: |
Thu, 6 Oct 2016 18:20:29 +0200 |
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.
Additionally this patch set adds the UPDFL instructions.
Cheers,
Bastian
[1] http://lists.nongnu.org/archive/html/qemu-devel/2016-06/msg01936.html
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 | 147 ++++++++++++++++++++++++++++++++++++++-
target-tricore/helper.h | 4 ++
target-tricore/translate.c | 47 +++++++++++++
target-tricore/tricore-opcodes.h | 3 +
4 files changed, 200 insertions(+), 1 deletion(-)
--
2.10.0
- [Qemu-devel] [PATCH 0/5] Added 7 instructions to the tricore target,
Bastian Koppelmann <=
- [Qemu-devel] [PATCH 4/5] target-tricore: Added new JNE instruction variant, Bastian Koppelmann, 2016/10/06
- [Qemu-devel] [PATCH 1/5] target-tricore: Added FTOUZ instruction, Bastian Koppelmann, 2016/10/06
- [Qemu-devel] [PATCH 2/5] target-tricore: Added MADD.F and MSUB.F instructions, Bastian Koppelmann, 2016/10/06
- [Qemu-devel] [PATCH 5/5] target-tricore: Add updfl instruction, Bastian Koppelmann, 2016/10/06
- [Qemu-devel] [PATCH 3/5] target-tricore: Added new MOV instruction variant, Bastian Koppelmann, 2016/10/06