qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/4] TriCore add instructions of RR1, RR2, RRPW and RRR opcode format
@ 2015-01-26 16:29 Bastian Koppelmann
  2015-01-26 16:29 ` [Qemu-devel] [PATCH v2 1/4] target-tricore: target-tricore: Add instructions of RR1 opcode format, that have 0x93 as first opcode Bastian Koppelmann
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Bastian Koppelmann @ 2015-01-26 16:29 UTC (permalink / raw)
  To: qemu-devel; +Cc: rth

Hi,

this is a rather short patchset, that only implements instructions of four
formats. There will be another patchset, which has a few bugfixes.

Cheers,
Bastian

v1 -> v2:
    - Add 3 helper functions (gen_mul_q, gen_mul_q_16, gen_mulr_q) to
      remove repetition.
    - gen_mul_q now uses 64 arithmetic instead of emulating it.
    - MUL_Q now uses arithmetic shift, instead of normal shift + sign extend for arg
      extraction.
    - optimize OPC2_32_RRPW_EXTR by using only two shifts, instead of four.
    - OPC1_32_RRPW_DEXTR now has r1 == r2 as a special case.

Bastian Koppelmann (4):
  target-tricore: target-tricore: Add instructions of RR1 opcode format,
    that have 0x93 as first opcode
  target-tricore: Add instructions of RR2 opcode format
  target-tricore: Add instructions of RRPW opcode format
  target-tricore: Add instructions of RRR opcode format

 target-tricore/helper.h          |   8 +
 target-tricore/op_helper.c       | 160 ++++++++++++++
 target-tricore/translate.c       | 439 +++++++++++++++++++++++++++++++++++++++
 target-tricore/tricore-opcodes.h |   2 +-
 4 files changed, 608 insertions(+), 1 deletion(-)

--
2.2.2

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

end of thread, other threads:[~2015-01-26 18:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-26 16:29 [Qemu-devel] [PATCH v2 0/4] TriCore add instructions of RR1, RR2, RRPW and RRR opcode format Bastian Koppelmann
2015-01-26 16:29 ` [Qemu-devel] [PATCH v2 1/4] target-tricore: target-tricore: Add instructions of RR1 opcode format, that have 0x93 as first opcode Bastian Koppelmann
2015-01-26 16:29 ` [Qemu-devel] [PATCH v2 2/4] target-tricore: Add instructions of RR2 opcode format Bastian Koppelmann
2015-01-26 16:29 ` [Qemu-devel] [PATCH v2 3/4] target-tricore: Add instructions of RRPW " Bastian Koppelmann
2015-01-26 16:30 ` [Qemu-devel] [PATCH v2 4/4] target-tricore: Add instructions of RRR " Bastian Koppelmann
2015-01-26 18:11 ` [Qemu-devel] [PATCH v2 0/4] TriCore add instructions of RR1, RR2, RRPW and " Richard Henderson

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