diff options
author | Pavel Dovgalyuk | 2022-06-20 14:05:21 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2022-07-12 22:30:09 +0200 |
commit | 72d680e4083a75c55d89c55f799cbe870ebbc7a5 (patch) | |
tree | 6e574cbcda3a178b8b3d732dfe7d2a0d34228fae /target/mips/tcg/octeon_translate.c | |
parent | Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (diff) | |
download | qemu-72d680e4083a75c55d89c55f799cbe870ebbc7a5.tar.gz qemu-72d680e4083a75c55d89c55f799cbe870ebbc7a5.tar.xz qemu-72d680e4083a75c55d89c55f799cbe870ebbc7a5.zip |
target/mips: introduce decodetree structure for Cavium Octeon extension
This patch adds decodetree for Cavium Octeon extension and
an instruction set extension flag for using it in CPU models.
Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <165572672162.167724.13656301229517693806.stgit@pasha-ThinkPad-X280>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'target/mips/tcg/octeon_translate.c')
-rw-r--r-- | target/mips/tcg/octeon_translate.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/mips/tcg/octeon_translate.c b/target/mips/tcg/octeon_translate.c new file mode 100644 index 0000000000..8b5eb1a823 --- /dev/null +++ b/target/mips/tcg/octeon_translate.c @@ -0,0 +1,16 @@ +/* + * Octeon-specific instructions translation routines + * + * Copyright (c) 2022 Pavel Dovgalyuk + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "qemu/osdep.h" +#include "tcg/tcg-op.h" +#include "tcg/tcg-op-gvec.h" +#include "exec/helper-gen.h" +#include "translate.h" + +/* Include the auto-generated decoder. */ +#include "decode-octeon.c.inc" |