diff options
author | Bastian Koppelmann | 2015-02-06 15:48:33 +0100 |
---|---|---|
committer | Bastian Koppelmann | 2015-03-03 02:06:00 +0100 |
commit | bebe80fc78cc91c4225cfb98ef3a916b9c861c60 (patch) | |
tree | f59fb6e656cb9090c4abbe0051706422e1989dc5 /scripts/tracetool/format/d.py | |
parent | target-tricore: Add instructions of RRR1 opcode format, which have 0x43 as fi... (diff) | |
download | qemu-bebe80fc78cc91c4225cfb98ef3a916b9c861c60.tar.gz qemu-bebe80fc78cc91c4225cfb98ef3a916b9c861c60.tar.xz qemu-bebe80fc78cc91c4225cfb98ef3a916b9c861c60.zip |
target-tricore: Add instructions of RRR1 opcode format, which have 0xc3 as first opcode
Add helpers helper_addsur_h/_ssov which adds one halfword and subtracts one
halfword, rounds / and saturates each half word independently.
Add microcode helper functions:
* gen_maddsu_h/sus_h: multiply two halfwords left justified and add to the
first one word and subtract from the second one word
/ and saturate each resulting word independetly.
* gen_maddsum_h/sums_h: multiply two halfwords in q-format left justified
and add to the first one word and subtract from
the second one word / and saturate each resulting
word independetly.
* gen_maddsur32_h/32s_h: multiply two halfwords in q-format left justified
and add to the first one word and subtract from
the second one word, round both results / and
saturate each resulting word independetly.
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'scripts/tracetool/format/d.py')
0 files changed, 0 insertions, 0 deletions