summary refs log tree commit diff stats
path: root/util/qemu-config.c
diff options
context:
space:
mode:
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>2015-01-29 15:35:56 +0000
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>2015-03-03 01:05:26 +0000
commit2e430e1cdcbac8825bc44b42844cbb011b859847 (patch)
tree927b232cd4edc7b59f159a7ef5f3fbf441681069 /util/qemu-config.c
parent2984cfbdb4dbc31d614aaa0303374dff951e7a31 (diff)
downloadfocaccia-qemu-2e430e1cdcbac8825bc44b42844cbb011b859847.tar.gz
focaccia-qemu-2e430e1cdcbac8825bc44b42844cbb011b859847.zip
target-tricore: Add instructions of RRR1 opcode format, which have 0x83 as first opcode
Add helpers:
    * add64_ssov: adds two 64 bit values and saturates the result.
    * addr_h/_ssov: adds two halfwords with two words in q-format with rounding
                    / and saturates each result independetly.

Add microcode generator:
    * gen_add64_d: adds two 64 bit values.
    * gen_addsub64_h: adds/subtracts one halfwords with a word and adds/
                      subtracts another halftword with another word.
    * gen_madd_h/s_h: multiply four halfwords, add each result left justfied
                      to two word values / and saturate each result.
    * gen_maddm_h/s_h: multiply four halfwords, add each result left justfied
                       to two words values in q-format / and saturate each
                       result.
    * gen_maddr32/64_h/s_h: multiply four halfwords, add each result left
                            justfied to two halftwords/words values in q-format
                            / and saturate each result.

Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'util/qemu-config.c')
0 files changed, 0 insertions, 0 deletions