From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZFOP-0001Sk-1s for qemu-devel@nongnu.org; Wed, 01 Oct 2014 04:36:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZFOI-0007Vz-HG for qemu-devel@nongnu.org; Wed, 01 Oct 2014 04:36:13 -0400 Received: from mail.uni-paderborn.de ([131.234.142.9]:54139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZFOI-0007V2-Bn for qemu-devel@nongnu.org; Wed, 01 Oct 2014 04:36:06 -0400 From: Bastian Koppelmann Date: Wed, 1 Oct 2014 10:35:31 +0100 Message-Id: <1412156136-28899-1-git-send-email-kbastian@mail.uni-paderborn.de> Subject: [Qemu-devel] [PATCH v2 0/5] Add TriCore ABS, ABSB, B, BIT, BO instructions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, rth@twiddle.net 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