qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/4] Added 5 instructions to the tricore target
@ 2016-06-07 15:49 peer.adelt
  2016-06-07 15:49 ` [Qemu-devel] [PATCH v3 1/4] target-tricore: Added FTOUZ instruction peer.adelt
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: peer.adelt @ 2016-06-07 15:49 UTC (permalink / raw)
  To: qemu-devel; +Cc: kbastian, rth, Peer Adelt

From: Peer Adelt <peer.adelt@c-lab.de>

This patch set contains 5 new instructions:
 - FTOUZ (converts float to unsigned int, rounds towards zero)
 - MADD.F / MSUB.F (multiplies two floats and adds/subtracts result
                    to/from the third operand)
 - MOV (new variant in RR format - see ISA v1.6 for details)
 - JNE (new variant in SBC format - see ISA v1.6 for details)

v3:
  PATCH 1/4: target-tricore: Added FTOUZ instruction
  - Removed unnecessary cast

  PATCH 2/4: target-tricore: Added MADD.F and MSUB.F instructions
  - Provided correct negation options for float32_muladd()
    instead of negating one of the input arguments
  - Calculate NaN results as required in the datasheet

  PATCH 3/4: target-tricore: Added new MOV instruction variant
  - Removed unnecessary parentheses
  - Used temp register to avoid losing the value of r1
  - Checks that r3+1:r3 for a valid 64 Bit extended register

  PATCH 4/4: target-tricore: Added new JNE instruction variant
  - gen_compute_branch() now calculates the displacement value

v2:
  PATCH 3/4: target-tricore: Added new MOV instruction variant
  - Checks TriCore ISA version requirement

  PATCH 4/4: target-tricore: Added new JNE instruction variant
  - Checks TriCore ISA version requirement


Peer Adelt (4):
  target-tricore: Added FTOUZ instruction
  target-tricore: Added MADD.F and MSUB.F instructions
  target-tricore: Added new MOV instruction variant
  target-tricore: Added new JNE instruction variant

 target-tricore/fpu_helper.c      | 77 ++++++++++++++++++++++++++++++++++++++++
 target-tricore/helper.h          |  3 ++
 target-tricore/translate.c       | 42 ++++++++++++++++++++++
 target-tricore/tricore-opcodes.h |  3 ++
 4 files changed, 125 insertions(+)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-06-09 11:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-07 15:49 [Qemu-devel] [PATCH v3 0/4] Added 5 instructions to the tricore target peer.adelt
2016-06-07 15:49 ` [Qemu-devel] [PATCH v3 1/4] target-tricore: Added FTOUZ instruction peer.adelt
2016-06-07 15:49 ` [Qemu-devel] [PATCH v3 2/4] target-tricore: Added MADD.F and MSUB.F instructions peer.adelt
2016-06-09 11:00   ` Bastian Koppelmann
2016-06-07 15:49 ` [Qemu-devel] [PATCH v3 3/4] target-tricore: Added new MOV instruction variant peer.adelt
2016-06-07 16:48   ` Bastian Koppelmann
2016-06-07 15:49 ` [Qemu-devel] [PATCH v3 4/4] target-tricore: Added new JNE " peer.adelt
2016-06-07 16:51   ` Bastian Koppelmann

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).