mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
target-tricore: Add instructions of RRR opcode format
Add microcode generator function gen_cond_sub. Add helper functions: * ixmax/ixmin: search for the max/min value and its related index in a vector of 16-bit values. * pack: dack two data registers into an IEEE-754 single precision floating point format number. * dvadj: divide-adjust the result after dvstep instructions. * dvstep: divide a reg by a divisor, producing 8-bits of quotient at a time. OPCM_32_RRR_FLOAT -> OPCM_32_RRR_DIVIDE Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Reviewed-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
8fb9d0eb68
commit
0953225588
4 changed files with 319 additions and 1 deletions
|
@ -516,7 +516,7 @@ enum {
|
|||
OPC1_32_RRPW_DEXTR = 0x77,
|
||||
/* RRR Format */
|
||||
OPCM_32_RRR_COND_SELECT = 0x2b,
|
||||
OPCM_32_RRR_FLOAT = 0x6b,
|
||||
OPCM_32_RRR_DIVIDE = 0x6b,
|
||||
/* RRR1 Format */
|
||||
OPCM_32_RRR1_MADD = 0x83,
|
||||
OPCM_32_RRR1_MADDQ_H = 0x43,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue