From: Richard Henderson <rth@twiddle.net>
To: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>,
qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org
Subject: Re: [Qemu-devel] [PATCH v2 5/5] target-tricore: Add instructions of RC opcode format
Date: Thu, 30 Oct 2014 08:43:46 -0700 [thread overview]
Message-ID: <54525CB2.1080709@twiddle.net> (raw)
In-Reply-To: <1414684746-13771-6-git-send-email-kbastian@mail.uni-paderborn.de>
On 10/30/2014 08:59 AM, Bastian Koppelmann wrote:
> Add instructions of RC opcode format.
> Add helper for mul, sha, absdif with signed saturation on overflow.
> Add helper for add, sub, mul with unsigned saturation on overflow.
> Add microcode generator functions:
> * gen_add_CC, which calculates the carry bit.
> * gen_addc_CC, which adds the carry bit to the add and calculates the carry bit.
> * gen_absdif, which calculates the absolute difference.
> * gen_mul_i64s/u, which mul two 32 bits val into one 64bit reg.
> * gen_sh_hi, which shifts two 16bit words in one reg.
> * gen_sha_hi, which does a arithmetic shift on two 16bit words.
> * gen_sh_cond, which shifts left a reg by one and writes the result of cond into the lsb.
> * gen_accumulating_cond, which ands/ors/xors the result of cond of the lsbs
> with the lsb of the result.
> * gen_eqany_bi/hi, which checks ever byte/hword on equality.
>
> Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
> ---
> v1 -> v2:
> - gen_sha_hi: Remove mask for low in case shift_count > 0, since deposit handles that.
> - gen_sha_hi: Remove mask for high in case shift <= 0, since deposit handles that.
Reviewed-by: Richard Henderson <rth@twiddle.net>
r~
prev parent reply other threads:[~2014-10-31 15:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-30 15:59 [Qemu-devel] [PATCH v2 0/5] Add TriCore BOL, BRC, BRN, BRR and RC instructions Bastian Koppelmann
2014-10-30 15:59 ` [Qemu-devel] [PATCH v2 1/5] target-tricore: Add instructions of BOL opcode format Bastian Koppelmann
2014-10-30 15:59 ` [Qemu-devel] [PATCH v2 2/5] target-tricore: Add instructions of BRC " Bastian Koppelmann
2014-10-30 15:59 ` [Qemu-devel] [PATCH v2 3/5] target-tricore: Add instructions of BRN " Bastian Koppelmann
2014-10-30 15:36 ` Richard Henderson
2014-10-30 15:59 ` [Qemu-devel] [PATCH v2 4/5] target-tricore: Add instructions of BRR " Bastian Koppelmann
2014-10-30 15:38 ` Richard Henderson
2014-10-30 15:59 ` [Qemu-devel] [PATCH v2 5/5] target-tricore: Add instructions of RC " Bastian Koppelmann
2014-10-30 15:43 ` Richard Henderson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54525CB2.1080709@twiddle.net \
--to=rth@twiddle.net \
--cc=kbastian@mail.uni-paderborn.de \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.