mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
target-tricore: Added MADD.F and MSUB.F instructions
Multiplies D[a] and D[b] and adds/subtracts the result to/from D[d]. The result is put in D[c]. All operands are floating-point numbers. Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Reviewed-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
8f75983db8
commit
ddd7fead8c
3 changed files with 102 additions and 1 deletions
|
@ -109,6 +109,8 @@ DEF_HELPER_3(fadd, i32, env, i32, i32)
|
|||
DEF_HELPER_3(fsub, i32, env, i32, i32)
|
||||
DEF_HELPER_3(fmul, i32, env, i32, i32)
|
||||
DEF_HELPER_3(fdiv, i32, env, i32, i32)
|
||||
DEF_HELPER_4(fmadd, i32, env, i32, i32, i32)
|
||||
DEF_HELPER_4(fmsub, i32, env, i32, i32, i32)
|
||||
DEF_HELPER_3(fcmp, i32, env, i32, i32)
|
||||
DEF_HELPER_2(ftoi, i32, env, i32)
|
||||
DEF_HELPER_2(itof, i32, env, i32)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue