diff options
author | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2016-10-06 16:50:53 +0200 |
---|---|---|
committer | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2017-01-11 14:37:07 +0100 |
commit | ddd7fead8c8524dc51b9b7c20b1f08a4b34ef653 (patch) | |
tree | 21b7b75160d5d202bb40a0ce6f7920c9084b5043 /target/tricore/helper.h | |
parent | 8f75983db8d67bce42332db7b38c62e2d45a5c7f (diff) |
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>
Diffstat (limited to 'target/tricore/helper.h')
-rw-r--r-- | target/tricore/helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/tricore/helper.h b/target/tricore/helper.h index 467c88013a..c897a44eb3 100644 --- a/target/tricore/helper.h +++ b/target/tricore/helper.h @@ -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) |