[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 15/15] target-tricore: Add instructions of SR
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v3 15/15] target-tricore: Add instructions of SR opcode format |
Date: |
Mon, 04 Aug 2014 09:22:54 -1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 |
> + case OPC2_16_SR_RSUB:
> + /* overflow only if r1 = -0x80000000 */
> + temp = tcg_const_i32(-0x80000000);
> + t0 = tcg_const_i32(0);
> + t1 = tcg_const_i32(1);
> + tcg_gen_movcond_tl(TCG_COND_EQ, cpu_PSW_V, cpu_gpr_d[r1], temp, t1,
> t0);
This is setcond.
> + tcg_gen_movcond_tl(TCG_COND_EQ, cpu_PSW_SV, cpu_gpr_d[r1], temp,
> + t1, cpu_PSW_SV);
This is or of the setcond.
r~
- [Qemu-devel] [PATCH v3 10/15] target-tricore: Add instructions of SB opcode format, (continued)
- [Qemu-devel] [PATCH v3 10/15] target-tricore: Add instructions of SB opcode format, Bastian Koppelmann, 2014/08/04
- [Qemu-devel] [PATCH v3 09/15] target-tricore: Add instructions of SRRS and SLRO opcode format, Bastian Koppelmann, 2014/08/04
- [Qemu-devel] [PATCH v3 08/15] target-tricore: Add instructions of SSR opcode format, Bastian Koppelmann, 2014/08/04
- [Qemu-devel] [PATCH v3 02/15] target-tricore: Add board for systemmode, Bastian Koppelmann, 2014/08/04
- [Qemu-devel] [PATCH v3 04/15] target-tricore: Add initialization for translation and activate target, Bastian Koppelmann, 2014/08/04
- [Qemu-devel] [PATCH v3 13/15] target-tricore: Add instructions of SC opcode format, Bastian Koppelmann, 2014/08/04
- [Qemu-devel] [PATCH v3 06/15] target-tricore: Add instructions of SRC opcode format, Bastian Koppelmann, 2014/08/04
- [Qemu-devel] [PATCH v3 14/15] target-tricore: Add instructions of SLR, SSRO and SRO opcode format, Bastian Koppelmann, 2014/08/04
- [Qemu-devel] [PATCH v3 15/15] target-tricore: Add instructions of SR opcode format, Bastian Koppelmann, 2014/08/04
- Re: [Qemu-devel] [PATCH v3 15/15] target-tricore: Add instructions of SR opcode format,
Richard Henderson <=
- [Qemu-devel] [PATCH v3 05/15] target-tricore: Add masks and opcodes for decoding, Bastian Koppelmann, 2014/08/04
- [Qemu-devel] [PATCH v3 12/15] target-tricore: Add instructions of SBR opcode format, Bastian Koppelmann, 2014/08/04