diff options
author | Lijun Pan | 2020-07-24 06:58:41 +0200 |
---|---|---|
committer | David Gibson | 2020-08-12 05:16:27 +0200 |
commit | 73ebe95e8e593567dce9477cb4adf86560c7d377 (patch) | |
tree | 00a6e0467066cbdbb18d269a62ba3fc76f88d085 /tcg/ppc/tcg-target.h | |
parent | Update PowerPC AT_HWCAP2 definition (diff) | |
download | qemu-73ebe95e8e593567dce9477cb4adf86560c7d377.tar.gz qemu-73ebe95e8e593567dce9477cb4adf86560c7d377.tar.xz qemu-73ebe95e8e593567dce9477cb4adf86560c7d377.zip |
target/ppc: add vmulld to INDEX_op_mul_vec case
Group vmuluwm and vmulld. Make vmulld-specific
changes since it belongs to new ISA 3.1.
Signed-off-by: Lijun Pan <ljp@linux.ibm.com>
Message-Id: <20200724045845.89976-3-ljp@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tcg/ppc/tcg-target.h')
-rw-r--r-- | tcg/ppc/tcg-target.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tcg/ppc/tcg-target.h b/tcg/ppc/tcg-target.h index be5b2901c3..aee38157a2 100644 --- a/tcg/ppc/tcg-target.h +++ b/tcg/ppc/tcg-target.h @@ -63,6 +63,7 @@ typedef enum { tcg_isa_2_06, tcg_isa_2_07, tcg_isa_3_00, + tcg_isa_3_10, } TCGPowerISA; extern TCGPowerISA have_isa; @@ -72,6 +73,7 @@ extern bool have_vsx; #define have_isa_2_06 (have_isa >= tcg_isa_2_06) #define have_isa_2_07 (have_isa >= tcg_isa_2_07) #define have_isa_3_00 (have_isa >= tcg_isa_3_00) +#define have_isa_3_10 (have_isa >= tcg_isa_3_10) /* optional instructions automatically implemented */ #define TCG_TARGET_HAS_ext8u_i32 0 /* andi */ |