[Qemu-devel] [PATCH v3 4/4] target-tricore: Add instructions of RCR opcode format

2014-11-20 Thread Bastian Koppelmann
Add instructions of RCR opcode format. Add helper for madd32/64_ssov and madd32/64_suov. Add helper for msub32/64_ssov and msub32/64_suov. Add microcode generator function madd/msub for 32bit and 64bit, which calculate a mul and a add/sub. OPC2_32_RCR_MSUB_U_32 - OPC2_32_RCR_MSUB_U_32.

Re: [Qemu-devel] [PATCH v3 4/4] target-tricore: Add instructions of RCR opcode format

2014-11-20 Thread Richard Henderson
On 11/20/2014 02:28 PM, Bastian Koppelmann wrote: +uint64_t helper_madd64_ssov(CPUTriCoreState *env, target_ulong r1, +uint64_t r2, target_ulong r3) +{ +uint64_t ret_low, ret_high; +uint64_t r2_high; +int64_t t1 = sextract64(r1, 0, 32); +int64_t