qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v2 0/5] Add TriCore ABS, ABSB, B, BIT, BO instructio


From: Bastian Koppelmann
Subject: [Qemu-devel] [PATCH v2 0/5] Add TriCore ABS, ABSB, B, BIT, BO instructions
Date: Wed, 1 Oct 2014 10:35:31 +0100

Hi guys,

here is the next round of TriCore patches. The first patch addresses a clang 
issue mentioned by Peter Maydell and
some bugfixes. And the other four add instructions of the ABS, ABSB, B, BIT and 
BO opcode format.

Thanks,

Bastian

v1 -> v2:
    - Fix whitespaces
    - gen_ld_2regs_64: replace three tcg-ops to write back 64bit result with 
tcg_gen_extr
    - decode32Bit: move declaration of b and bpos to the top of the function.
    - gen_bit_2op: Now uses deposit and two shifts.
    - gen_bit_1op: Now masks output instead of inputs and eliminates special 
cases for NOR.
    - Remove depositing into r3 from decode_bit_andacc/orand, since gen_bit_2op 
does it.
    - decode_bit_insert: Now uses shift + deposit.
    - BIT_AND_NOR_T, BIT_XNOR_T and BIT_OR_NOR_T now use conditionalization.
    - BIT_XNOR_T and BIT_SH_XNOR_T now use tcg_gen_eqv_tl.
    - Replace helper for every ld/st_bitreverse/circular instruction with a 
general helper + tcg-op.

Bastian Koppelmann (5):
  target-tricore: Cleanup and Bugfixes
  target-tricore: Add instructions of ABS, ABSB opcode format
  target-tricore: Add instructions of B opcode format
  target-tricore: Add instructions of BIT opcode format
  target-tricore: Add instructions of BO opcode format

 target-tricore/helper.h          |    7 +
 target-tricore/op_helper.c       |  128 +++-
 target-tricore/translate.c       | 1294 ++++++++++++++++++++++++++++++++++++++
 target-tricore/tricore-opcodes.h |    4 +-
 4 files changed, 1406 insertions(+), 27 deletions(-)

--
2.1.1




reply via email to

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