diff options
author | Philippe Mathieu-Daudé | 2020-11-16 16:39:20 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2021-08-25 13:02:14 +0200 |
commit | 07565cbf4abb81efa6dc4742c243bdc4b3444398 (patch) | |
tree | 3b8c36ccdb91d3df0bea3cadbf3fccbdf7d72f0b /target/mips/tcg/vr54xx_helper.h.inc | |
parent | target/mips: Introduce generic TRANS() macro for decodetree helpers (diff) | |
download | qemu-07565cbf4abb81efa6dc4742c243bdc4b3444398.tar.gz qemu-07565cbf4abb81efa6dc4742c243bdc4b3444398.tar.xz qemu-07565cbf4abb81efa6dc4742c243bdc4b3444398.zip |
target/mips: Extract NEC Vr54xx helper definitions
Extract the NEC Vr54xx helper definitions to
'vendor-vr54xx_helper.h'.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201120210844.2625602-15-f4bug@amsat.org>
Diffstat (limited to 'target/mips/tcg/vr54xx_helper.h.inc')
-rw-r--r-- | target/mips/tcg/vr54xx_helper.h.inc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/mips/tcg/vr54xx_helper.h.inc b/target/mips/tcg/vr54xx_helper.h.inc new file mode 100644 index 0000000000..50b1f5b818 --- /dev/null +++ b/target/mips/tcg/vr54xx_helper.h.inc @@ -0,0 +1,24 @@ +/* + * MIPS NEC Vr54xx instruction emulation helpers for QEMU. + * + * Copyright (c) 2004-2005 Jocelyn Mayer + * Copyright (c) 2006 Marius Groeger (FPU operations) + * Copyright (c) 2006 Thiemo Seufer (MIPS32R2 support) + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +DEF_HELPER_3(muls, tl, env, tl, tl) +DEF_HELPER_3(mulsu, tl, env, tl, tl) +DEF_HELPER_3(macc, tl, env, tl, tl) +DEF_HELPER_3(maccu, tl, env, tl, tl) +DEF_HELPER_3(msac, tl, env, tl, tl) +DEF_HELPER_3(msacu, tl, env, tl, tl) +DEF_HELPER_3(mulhi, tl, env, tl, tl) +DEF_HELPER_3(mulhiu, tl, env, tl, tl) +DEF_HELPER_3(mulshi, tl, env, tl, tl) +DEF_HELPER_3(mulshiu, tl, env, tl, tl) +DEF_HELPER_3(macchi, tl, env, tl, tl) +DEF_HELPER_3(macchiu, tl, env, tl, tl) +DEF_HELPER_3(msachi, tl, env, tl, tl) +DEF_HELPER_3(msachiu, tl, env, tl, tl) |