[clang] [llvm] [Hexagon] Add V83 support to compiler and assembler (PR #238007)
Ikhlas Ajbar via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 5 21:09:10 PST 2026
https://github.com/iajbar updated https://github.com/llvm/llvm-project/pull/238007
>From cd30d313dd0200d9cf3322a8183bd5396b3ec391 Mon Sep 17 00:00:00 2001
From: Ikhlas Ajbar <iajbar at quicinc.com>
Date: Sat, 24 Oct 2026 09:58:01 -0700
Subject: [PATCH] [Hexagon] Add V83 support to compiler and assembler
Add Hexagon V83 as an architecture target, including new V83
instructions.
Plumbing: arch/HVX subtarget features and predicates, processor model
and scheduling itineraries, subtarget queries, MC target support, and
clang driver/preprocessor support.
Instructions: scalar RTOS call/jump (_rb) and allocframe variants,
trap2, the vallocframe/vdeallocframe vector-stack ops, scalar
floating-point audio ops (F7_*), and new HVX ALU and multiply
instructions, together with their intrinsics, and clang builtins.
Also defines the VFRAMELIMIT and VSP control registers used by
the vector-stack instructions.
Adds MC and clang tests.
Hexagon V83 Programmer's Reference Manual:
https://docs.qualcomm.com/doc/80-N3040-23/topic/index_80-n2040-69_v83_prm.html
Co-authored-by: Yashas Andaluri <quic_yandalur at qti.qualcomm.com>
Co-authored-by: Alexey Karyakin <akaryaki at qti.qualcomm.com>
---
clang/include/clang/Basic/BuiltinsHexagon.td | 82 +-
clang/include/clang/Options/Options.td | 2 +
clang/lib/Basic/Targets/Hexagon.cpp | 6 +-
clang/lib/Headers/hvx_hexagon_protos.h | 308 ++++++
clang/test/Driver/hexagon-toolchain-elf.c | 7 +
clang/test/Preprocessor/hexagon-predefines.c | 17 +
llvm/include/llvm/IR/IntrinsicsHexagonDep.td | 214 +++++
.../Disassembler/HexagonDisassembler.cpp | 34 +-
llvm/lib/Target/Hexagon/Hexagon.td | 15 +
llvm/lib/Target/Hexagon/HexagonDepArch.h | 4 +-
llvm/lib/Target/Hexagon/HexagonDepArch.td | 2 +
llvm/lib/Target/Hexagon/HexagonDepIICHVX.td | 602 ++++++++++++
.../lib/Target/Hexagon/HexagonDepIICScalar.td | 888 ++++++++++++++++++
.../Target/Hexagon/HexagonDepInstrFormats.td | 4 +
.../lib/Target/Hexagon/HexagonDepInstrInfo.td | 774 +++++++++++++++
.../Target/Hexagon/HexagonDepMapAsm2Intrin.td | 138 +++
llvm/lib/Target/Hexagon/HexagonDepMappings.td | 1 +
.../Target/Hexagon/HexagonRegisterInfo.cpp | 2 +
.../lib/Target/Hexagon/HexagonRegisterInfo.td | 10 +-
llvm/lib/Target/Hexagon/HexagonSchedule.td | 3 +-
llvm/lib/Target/Hexagon/HexagonScheduleV83.td | 31 +
llvm/lib/Target/Hexagon/HexagonSubtarget.h | 9 +
.../MCTargetDesc/HexagonMCELFStreamer.cpp | 3 +
.../MCTargetDesc/HexagonMCTargetDesc.cpp | 47 +-
llvm/test/MC/Hexagon/arch-support.s | 3 +
llvm/test/MC/Hexagon/v83_arch.s | 10 +
llvm/test/MC/Hexagon/v83_hvx.s | 116 +++
27 files changed, 3290 insertions(+), 42 deletions(-)
create mode 100644 llvm/lib/Target/Hexagon/HexagonScheduleV83.td
create mode 100644 llvm/test/MC/Hexagon/v83_arch.s
create mode 100644 llvm/test/MC/Hexagon/v83_hvx.s
diff --git a/clang/include/clang/Basic/BuiltinsHexagon.td b/clang/include/clang/Basic/BuiltinsHexagon.td
index 00f84cd72a0510..8691174c81021e 100644
--- a/clang/include/clang/Basic/BuiltinsHexagon.td
+++ b/clang/include/clang/Basic/BuiltinsHexagon.td
@@ -20,8 +20,9 @@ class V<string version, VFeatures newer> : VFeatures {
let Features = !strconcat("v", version, "|", newer.Features);
}
-let Features = "v81" in def V81 : VFeatures;
+let Features = "v83" in def V83 : VFeatures;
+def V81 : V<"81", V83>;
def V79 : V<"79", V81>;
def V75 : V<"75", V79>;
def V73 : V<"73", V75>;
@@ -44,8 +45,9 @@ class HVXV<string version, HVXVFeatures newer> : HVXVFeatures {
let Features = !strconcat("hvxv", version, "|", newer.Features);
}
-let Features = "hvxv81" in def HVXV81 : HVXVFeatures;
+let Features = "hvxv83" in def HVXV83 : HVXVFeatures;
+def HVXV81 : HVXV<"81", HVXV83>;
def HVXV79 : HVXV<"79", HVXV81>;
def HVXV75 : HVXV<"75", HVXV79>;
def HVXV73 : HVXV<"73", HVXV75>;
@@ -2212,3 +2214,79 @@ let Features = HVXV81.Features in {
def V6_vsub_sf_mix : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>)">;
def V6_vsub_sf_mix_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>)">;
}
+
+// V83 Scalar Instructions.
+
+let Features = V83.Features in {
+ def A2_nop_rb : HexagonBuiltin<"void()">;
+ def F7_vsfadd : HexagonBuiltin<"double(double, double)">;
+ def F7_vsffma : HexagonBuiltin<"double(double, double, double)">;
+ def F7_vsffms : HexagonBuiltin<"double(double, double, double)">;
+ def F7_vsfmpy : HexagonBuiltin<"double(double, double)">;
+ def F7_vsfsub : HexagonBuiltin<"double(double, double)">;
+ def V2_vallocframe_imm : HexagonBuiltin<"void(unsigned _Constant int)">;
+ def V2_vallocframe_reg : HexagonBuiltin<"void(int)">;
+ def V2_vdeallocframe_imm : HexagonBuiltin<"void(unsigned _Constant int)">;
+ def V2_vdeallocframe_reg : HexagonBuiltin<"void(int)">;
+}
+
+// V83 HVX Instructions.
+
+let Features = HVXV83.Features in {
+ def V6_vabsdiffuw : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>)">;
+ def V6_vabsdiffuw_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>)">;
+ def V6_vadduhhsat : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>)">;
+ def V6_vadduhhsat_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>)">;
+ def V6_vadduwwsat_dv : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>)">;
+ def V6_vadduwwsat_dv_128B : HexagonBuiltin<"_Vector<64, int>(_Vector<64, int>, _Vector<64, int>)">;
+ def V6_vmaxuw : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>)">;
+ def V6_vmaxuw_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>)">;
+ def V6_vminuw : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>)">;
+ def V6_vminuw_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>)">;
+ def V6_vmpar_uwuhuw_si : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<16, int>, int)">;
+ def V6_vmpar_uwuhuw_si_128B : HexagonBuiltin<"_Vector<64, int>(_Vector<64, int>, _Vector<32, int>, int)">;
+ def V6_vmpar_wuhw_si : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<16, int>, int)">;
+ def V6_vmpar_wuhw_si_128B : HexagonBuiltin<"_Vector<64, int>(_Vector<64, int>, _Vector<32, int>, int)">;
+ def V6_vmpauhuh : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>, long long int)">;
+ def V6_vmpauhuh_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>, long long int)">;
+ def V6_vmpauhuhuh : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>, long long int)">;
+ def V6_vmpauhuhuh_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>, long long int)">;
+ def V6_vmpsuhuh : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>, long long int)">;
+ def V6_vmpsuhuh_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>, long long int)">;
+ def V6_vmpyewuh_rnd : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>)">;
+ def V6_vmpyewuh_rnd_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>)">;
+ def V6_vmpyhuh : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>)">;
+ def V6_vmpyhuh_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>)">;
+ def V6_vmpyhuh_rnd : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>)">;
+ def V6_vmpyhuh_rnd_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>)">;
+ def V6_vmpyowuh : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>)">;
+ def V6_vmpyowuh_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>)">;
+ def V6_vmpyowuh_acc : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>, _Vector<16, int>)">;
+ def V6_vmpyowuh_acc_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>, _Vector<32, int>)">;
+ def V6_vmpyowuh_rnd : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>)">;
+ def V6_vmpyowuh_rnd_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>)">;
+ def V6_vmpyowuh_rnd_acc : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>, _Vector<16, int>)">;
+ def V6_vmpyowuh_rnd_acc_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>, _Vector<32, int>)">;
+ def V6_vmpyrhuh : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, int)">;
+ def V6_vmpyrhuh_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, int)">;
+ def V6_vmpyrhuh_rnd : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, int)">;
+ def V6_vmpyrhuh_rnd_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, int)">;
+ def V6_vmpyrhus : HexagonBuiltin<"_Vector<32, int>(_Vector<16, int>, int)">;
+ def V6_vmpyrhus_128B : HexagonBuiltin<"_Vector<64, int>(_Vector<32, int>, int)">;
+ def V6_vmpyrhus_acc : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<16, int>, int)">;
+ def V6_vmpyrhus_acc_128B : HexagonBuiltin<"_Vector<64, int>(_Vector<64, int>, _Vector<32, int>, int)">;
+ def V6_vmpyruhuh : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, int)">;
+ def V6_vmpyruhuh_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, int)">;
+ def V6_vmpyruhuh_rnd : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, int)">;
+ def V6_vmpyruhuh_rnd_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, int)">;
+ def V6_vmpyuhuh_rnd : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>)">;
+ def V6_vmpyuhuh_rnd_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>)">;
+ def V6_vnavguh : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>)">;
+ def V6_vnavguh_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>)">;
+ def V6_vnavguw : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>)">;
+ def V6_vnavguw_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>)">;
+ def V6_vsubuhhsat : HexagonBuiltin<"_Vector<16, int>(_Vector<16, int>, _Vector<16, int>)">;
+ def V6_vsubuhhsat_128B : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>)">;
+ def V6_vsubuwwsat_dv : HexagonBuiltin<"_Vector<32, int>(_Vector<32, int>, _Vector<32, int>)">;
+ def V6_vsubuwwsat_dv_128B : HexagonBuiltin<"_Vector<64, int>(_Vector<64, int>, _Vector<64, int>)">;
+}
diff --git a/clang/include/clang/Options/Options.td b/clang/include/clang/Options/Options.td
index a529d4ec34dc16..d93b31fbdfab7b 100644
--- a/clang/include/clang/Options/Options.td
+++ b/clang/include/clang/Options/Options.td
@@ -7303,6 +7303,8 @@ def mv79 : Flag<["-"], "mv79">, Group<m_hexagon_Features_Group>,
Alias<mcpu_EQ>, AliasArgs<["hexagonv79"]>;
def mv81 : Flag<["-"], "mv81">, Group<m_hexagon_Features_Group>,
Alias<mcpu_EQ>, AliasArgs<["hexagonv81"]>;
+def mv83 : Flag<["-"], "mv83">, Group<m_hexagon_Features_Group>,
+ Alias<mcpu_EQ>, AliasArgs<["hexagonv83"]>;
def mhexagon_hvx : Flag<["-"], "mhvx">, Group<m_hexagon_Features_HVX_Group>,
HelpText<"Enable Hexagon Vector eXtensions">;
def mhexagon_hvx_EQ : Joined<["-"], "mhvx=">,
diff --git a/clang/lib/Basic/Targets/Hexagon.cpp b/clang/lib/Basic/Targets/Hexagon.cpp
index 615114f0fd1ea1..e8ec9eeeb08bf3 100644
--- a/clang/lib/Basic/Targets/Hexagon.cpp
+++ b/clang/lib/Basic/Targets/Hexagon.cpp
@@ -86,6 +86,9 @@ void HexagonTargetInfo::getTargetDefines(const LangOptions &Opts,
} else if (CPU == "hexagonv81") {
Builder.defineMacro("__HEXAGON_V81__");
Builder.defineMacro("__HEXAGON_ARCH__", "81");
+ } else if (CPU == "hexagonv83") {
+ Builder.defineMacro("__HEXAGON_V83__");
+ Builder.defineMacro("__HEXAGON_ARCH__", "83");
}
if (hasFeature("hvx-length64b")) {
@@ -269,7 +272,8 @@ static constexpr CPUSuffix Suffixes[] = {
{{"hexagonv68"}, {"68"}}, {{"hexagonv69"}, {"69"}},
{{"hexagonv71"}, {"71"}}, {{"hexagonv71t"}, {"71t"}},
{{"hexagonv73"}, {"73"}}, {{"hexagonv75"}, {"75"}},
- {{"hexagonv79"}, {"79"}}, {{"hexagonv81"}, {"81"}}};
+ {{"hexagonv79"}, {"79"}}, {{"hexagonv81"}, {"81"}},
+ {{"hexagonv83"}, {"83"}}};
std::optional<unsigned> HexagonTargetInfo::getHexagonCPURev(StringRef Name) {
StringRef Arch = Name;
diff --git a/clang/lib/Headers/hvx_hexagon_protos.h b/clang/lib/Headers/hvx_hexagon_protos.h
index 2f4110401d011c..94d09ebe756ed0 100644
--- a/clang/lib/Headers/hvx_hexagon_protos.h
+++ b/clang/lib/Headers/hvx_hexagon_protos.h
@@ -5416,6 +5416,314 @@
__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vsub_sf_mix)(Vu, Vv)
#endif
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vd32.uw=vabsdiff(Vu32.uw,Vv32.uw)
+ C Intrinsic Prototype: HVX_Vector Q6_Vuw_vabsdiff_VuwVuw(HVX_Vector Vu, HVX_Vector Vv)
+ Instruction Type: CVI_VX
+ Execution Slots: SLOT23
+ ========================================================================== */
+
+#define Q6_Vuw_vabsdiff_VuwVuw(Vu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vabsdiffuw)(Vu,Vv)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vd32.uh=vadd(Vu32.h,Vv32.h):sat
+ C Intrinsic Prototype: HVX_Vector Q6_Vuh_vadd_VhVh_sat(HVX_Vector Vu, HVX_Vector Vv)
+ Instruction Type: CVI_VA
+ Execution Slots: SLOT0123
+ ========================================================================== */
+
+#define Q6_Vuh_vadd_VhVh_sat(Vu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vadduhhsat)(Vu,Vv)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vdd32.uw=vadd(Vuu32.w,Vvv32.w):sat
+ C Intrinsic Prototype: HVX_VectorPair Q6_Wuw_vadd_WwWw_sat(HVX_VectorPair Vuu, HVX_VectorPair Vvv)
+ Instruction Type: CVI_VA_DV
+ Execution Slots: SLOT0123
+ ========================================================================== */
+
+#define Q6_Wuw_vadd_WwWw_sat(Vuu,Vvv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vadduwwsat_dv)(Vuu,Vvv)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vd32.uw=vmax(Vu32.uw,Vv32.uw)
+ C Intrinsic Prototype: HVX_Vector Q6_Vuw_vmax_VuwVuw(HVX_Vector Vu, HVX_Vector Vv)
+ Instruction Type: CVI_VA
+ Execution Slots: SLOT0123
+ ========================================================================== */
+
+#define Q6_Vuw_vmax_VuwVuw(Vu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmaxuw)(Vu,Vv)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vd32.uw=vmin(Vu32.uw,Vv32.uw)
+ C Intrinsic Prototype: HVX_Vector Q6_Vuw_vmin_VuwVuw(HVX_Vector Vu, HVX_Vector Vv)
+ Instruction Type: CVI_VA
+ Execution Slots: SLOT0123
+ ========================================================================== */
+
+#define Q6_Vuw_vmin_VuwVuw(Vu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vminuw)(Vu,Vv)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vxx32.w=vmpa(Vxx32.h,Vu32.uh,Rt32.w)
+ C Intrinsic Prototype: HVX_VectorPair Q6_Ww_vmpa_WwWhVuhRw(HVX_VectorPair Vxx, HVX_Vector Vu, Word32 Rt)
+ Instruction Type: CVI_VX_DV
+ Execution Slots: SLOT23
+ ========================================================================== */
+
+#define Q6_Ww_vmpa_WwWhVuhRw(Vxx,Vu,Rt) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpar_uwuhuw_si)(Vxx,Vu,Rt)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vxx32.uw=vmpa(Vxx32.uh,Vu32.uh,Rt32.w)
+ C Intrinsic Prototype: HVX_VectorPair Q6_Wuw_vmpa_WuwWuhVuhRw(HVX_VectorPair Vxx, HVX_Vector Vu, Word32 Rt)
+ Instruction Type: CVI_VX_DV
+ Execution Slots: SLOT23
+ ========================================================================== */
+
+#define Q6_Wuw_vmpa_WuwWuhVuhRw(Vxx,Vu,Rt) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpar_wuhw_si)(Vxx,Vu,Rt)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vx32.h=vmpa(Vx32.h,Vu32.uh,Rtt32.uh)
+ C Intrinsic Prototype: HVX_Vector Q6_Vh_vmpa_VhVhVuhPuh(HVX_Vector Vx, HVX_Vector Vu, Word64 Rtt)
+ Instruction Type: CVI_VX_DV
+ Execution Slots: SLOT2
+ ========================================================================== */
+
+#define Q6_Vh_vmpa_VhVhVuhPuh(Vx,Vu,Rtt) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpauhuh)(Vx,Vu,Rtt)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vx32.uh=vmpa(Vx32.uh,Vu32.uh,Rtt32.uh)
+ C Intrinsic Prototype: HVX_Vector Q6_Vuh_vmpa_VuhVuhVuhPuh(HVX_Vector Vx, HVX_Vector Vu, Word64 Rtt)
+ Instruction Type: CVI_VX_DV
+ Execution Slots: SLOT2
+ ========================================================================== */
+
+#define Q6_Vuh_vmpa_VuhVuhVuhPuh(Vx,Vu,Rtt) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpauhuhuh)(Vx,Vu,Rtt)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vx32.h=vmps(Vx32.h,Vu32.uh,Rtt32.uh)
+ C Intrinsic Prototype: HVX_Vector Q6_Vh_vmps_VhVhVuhPuh(HVX_Vector Vx, HVX_Vector Vu, Word64 Rtt)
+ Instruction Type: CVI_VX_DV
+ Execution Slots: SLOT2
+ ========================================================================== */
+
+#define Q6_Vh_vmps_VhVhVuhPuh(Vx,Vu,Rtt) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpsuhuh)(Vx,Vu,Rtt)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vd32.w=vmpye(Vu32.w,Vv32.uh):rnd
+ C Intrinsic Prototype: HVX_Vector Q6_Vw_vmpye_VwVuh_rnd(HVX_Vector Vu, HVX_Vector Vv)
+ Instruction Type: CVI_VX_DV
+ Execution Slots: SLOT23
+ ========================================================================== */
+
+#define Q6_Vw_vmpye_VwVuh_rnd(Vu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpyewuh_rnd)(Vu,Vv)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vd32.h=vmpy(Vu32.h,Vv32.uh)
+ C Intrinsic Prototype: HVX_Vector Q6_Vh_vmpy_VhVuh(HVX_Vector Vu, HVX_Vector Vv)
+ Instruction Type: CVI_VX
+ Execution Slots: SLOT23
+ ========================================================================== */
+
+#define Q6_Vh_vmpy_VhVuh(Vu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpyhuh)(Vu,Vv)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vd32.h=vmpy(Vu32.h,Vv32.uh):rnd
+ C Intrinsic Prototype: HVX_Vector Q6_Vh_vmpy_VhVuh_rnd(HVX_Vector Vu, HVX_Vector Vv)
+ Instruction Type: CVI_VX
+ Execution Slots: SLOT23
+ ========================================================================== */
+
+#define Q6_Vh_vmpy_VhVuh_rnd(Vu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpyhuh_rnd)(Vu,Vv)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vd32.w=vmpyo(Vu32.w,Vv32.uh)
+ C Intrinsic Prototype: HVX_Vector Q6_Vw_vmpyo_VwVuh(HVX_Vector Vu, HVX_Vector Vv)
+ Instruction Type: CVI_VX_DV
+ Execution Slots: SLOT23
+ ========================================================================== */
+
+#define Q6_Vw_vmpyo_VwVuh(Vu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpyowuh)(Vu,Vv)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vx32.w+=vmpyo(Vu32.w,Vv32.uh)
+ C Intrinsic Prototype: HVX_Vector Q6_Vw_vmpyoacc_VwVwVuh(HVX_Vector Vx, HVX_Vector Vu, HVX_Vector Vv)
+ Instruction Type: CVI_VX_DV
+ Execution Slots: SLOT23
+ ========================================================================== */
+
+#define Q6_Vw_vmpyoacc_VwVwVuh(Vx,Vu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpyowuh_acc)(Vx,Vu,Vv)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vd32.w=vmpyo(Vu32.w,Vv32.uh):rnd
+ C Intrinsic Prototype: HVX_Vector Q6_Vw_vmpyo_VwVuh_rnd(HVX_Vector Vu, HVX_Vector Vv)
+ Instruction Type: CVI_VX_DV
+ Execution Slots: SLOT23
+ ========================================================================== */
+
+#define Q6_Vw_vmpyo_VwVuh_rnd(Vu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpyowuh_rnd)(Vu,Vv)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vx32.w+=vmpyo(Vu32.w,Vv32.uh):rnd
+ C Intrinsic Prototype: HVX_Vector Q6_Vw_vmpyoacc_VwVwVuh_rnd(HVX_Vector Vx, HVX_Vector Vu, HVX_Vector Vv)
+ Instruction Type: CVI_VX_DV
+ Execution Slots: SLOT23
+ ========================================================================== */
+
+#define Q6_Vw_vmpyoacc_VwVwVuh_rnd(Vx,Vu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpyowuh_rnd_acc)(Vx,Vu,Vv)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vd32.h=vmpy(Vu32.h,Rt32.uh)
+ C Intrinsic Prototype: HVX_Vector Q6_Vh_vmpy_VhRuh(HVX_Vector Vu, Word32 Rt)
+ Instruction Type: CVI_VX
+ Execution Slots: SLOT23
+ ========================================================================== */
+
+#define Q6_Vh_vmpy_VhRuh(Vu,Rt) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpyrhuh)(Vu,Rt)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vd32.h=vmpy(Vu32.h,Rt32.uh):rnd
+ C Intrinsic Prototype: HVX_Vector Q6_Vh_vmpy_VhRuh_rnd(HVX_Vector Vu, Word32 Rt)
+ Instruction Type: CVI_VX
+ Execution Slots: SLOT23
+ ========================================================================== */
+
+#define Q6_Vh_vmpy_VhRuh_rnd(Vu,Rt) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpyrhuh_rnd)(Vu,Rt)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vdd32.w=vmpy(Vu32.h,Rt32.uh)
+ C Intrinsic Prototype: HVX_VectorPair Q6_Ww_vmpy_VhRuh(HVX_Vector Vu, Word32 Rt)
+ Instruction Type: CVI_VX_DV
+ Execution Slots: SLOT23
+ ========================================================================== */
+
+#define Q6_Ww_vmpy_VhRuh(Vu,Rt) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpyrhus)(Vu,Rt)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vxx32.w+=vmpy(Vu32.h,Rt32.uh)
+ C Intrinsic Prototype: HVX_VectorPair Q6_Ww_vmpyacc_WwVhRuh(HVX_VectorPair Vxx, HVX_Vector Vu, Word32 Rt)
+ Instruction Type: CVI_VX_DV
+ Execution Slots: SLOT23
+ ========================================================================== */
+
+#define Q6_Ww_vmpyacc_WwVhRuh(Vxx,Vu,Rt) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpyrhus_acc)(Vxx,Vu,Rt)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vd32.uh=vmpy(Vu32.uh,Rt32.uh)
+ C Intrinsic Prototype: HVX_Vector Q6_Vuh_vmpy_VuhRuh(HVX_Vector Vu, Word32 Rt)
+ Instruction Type: CVI_VX
+ Execution Slots: SLOT23
+ ========================================================================== */
+
+#define Q6_Vuh_vmpy_VuhRuh(Vu,Rt) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpyruhuh)(Vu,Rt)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vd32.uh=vmpy(Vu32.uh,Rt32.uh):rnd
+ C Intrinsic Prototype: HVX_Vector Q6_Vuh_vmpy_VuhRuh_rnd(HVX_Vector Vu, Word32 Rt)
+ Instruction Type: CVI_VX
+ Execution Slots: SLOT23
+ ========================================================================== */
+
+#define Q6_Vuh_vmpy_VuhRuh_rnd(Vu,Rt) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpyruhuh_rnd)(Vu,Rt)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vd32.uh=vmpy(Vu32.uh,Vv32.uh):rnd
+ C Intrinsic Prototype: HVX_Vector Q6_Vuh_vmpy_VuhVuh_rnd(HVX_Vector Vu, HVX_Vector Vv)
+ Instruction Type: CVI_VX
+ Execution Slots: SLOT23
+ ========================================================================== */
+
+#define Q6_Vuh_vmpy_VuhVuh_rnd(Vu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmpyuhuh_rnd)(Vu,Vv)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vd32.h=vnavg(Vu32.uh,Vv32.uh)
+ C Intrinsic Prototype: HVX_Vector Q6_Vh_vnavg_VuhVuh(HVX_Vector Vu, HVX_Vector Vv)
+ Instruction Type: CVI_VA
+ Execution Slots: SLOT0123
+ ========================================================================== */
+
+#define Q6_Vh_vnavg_VuhVuh(Vu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vnavguh)(Vu,Vv)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vd32.w=vnavg(Vu32.uw,Vv32.uw)
+ C Intrinsic Prototype: HVX_Vector Q6_Vw_vnavg_VuwVuw(HVX_Vector Vu, HVX_Vector Vv)
+ Instruction Type: CVI_VA
+ Execution Slots: SLOT0123
+ ========================================================================== */
+
+#define Q6_Vw_vnavg_VuwVuw(Vu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vnavguw)(Vu,Vv)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vd32.uh=vsub(Vu32.h,Vv32.h):sat
+ C Intrinsic Prototype: HVX_Vector Q6_Vuh_vsub_VhVh_sat(HVX_Vector Vu, HVX_Vector Vv)
+ Instruction Type: CVI_VA
+ Execution Slots: SLOT0123
+ ========================================================================== */
+
+#define Q6_Vuh_vsub_VhVh_sat(Vu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vsubuhhsat)(Vu,Vv)
+#endif
+
+#if __HVX_ARCH__ >= 83
+/* ==========================================================================
+ Assembly Syntax: Vdd32.uw=vsub(Vuu32.w,Vvv32.w):sat
+ C Intrinsic Prototype: HVX_VectorPair Q6_Wuw_vsub_WwWw_sat(HVX_VectorPair Vuu, HVX_VectorPair Vvv)
+ Instruction Type: CVI_VA_DV
+ Execution Slots: SLOT0123
+ ========================================================================== */
+
+#define Q6_Wuw_vsub_WwWw_sat(Vuu,Vvv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vsubuwwsat_dv)(Vuu,Vvv)
+#endif
+
#endif /* __HVX__ */
#endif
diff --git a/clang/test/Driver/hexagon-toolchain-elf.c b/clang/test/Driver/hexagon-toolchain-elf.c
index 42d12d573978d8..caad0728664fb2 100644
--- a/clang/test/Driver/hexagon-toolchain-elf.c
+++ b/clang/test/Driver/hexagon-toolchain-elf.c
@@ -188,6 +188,13 @@
// CHECK260: "-cc1" {{.*}} "-target-cpu" "hexagonv81"
// CHECK260: hexagon-link{{.*}}/Inputs/hexagon_tree/Tools/bin{{/|\\\\}}..{{/|\\\\}}target{{/|\\\\}}hexagon{{/|\\\\}}lib{{/|\\\\}}v81{{/|\\\\}}crt0
+// RUN: not %clang --sysroot= -### --target=hexagon-unknown-elf \
+// RUN: -ccc-install-dir %S/Inputs/hexagon_tree/Tools/bin \
+// RUN: -mcpu=hexagonv83 -fuse-ld=hexagon-link \
+// RUN: %s 2>&1 | FileCheck -check-prefix=CHECK270 %s
+// CHECK270: "-cc1" {{.*}} "-target-cpu" "hexagonv83"
+// CHECK270: hexagon-link{{.*}}/Inputs/hexagon_tree/Tools/bin{{/|\\\\}}..{{/|\\\\}}target{{/|\\\\}}hexagon{{/|\\\\}}lib{{/|\\\\}}v83{{/|\\\\}}crt0
+
// -----------------------------------------------------------------------------
// Test Linker related args
// -----------------------------------------------------------------------------
diff --git a/clang/test/Preprocessor/hexagon-predefines.c b/clang/test/Preprocessor/hexagon-predefines.c
index f115e6e0a99267..5741a1eaed71c3 100644
--- a/clang/test/Preprocessor/hexagon-predefines.c
+++ b/clang/test/Preprocessor/hexagon-predefines.c
@@ -201,6 +201,23 @@
// CHECK-V81HVX-128B: #define __HVX__ 1
// CHECK-V81HVX-128B: #define __hexagon__ 1
+// RUN: %clang_cc1 -E -dM -triple hexagon-unknown-elf -target-cpu hexagonv83 %s\
+// RUN: | FileCheck %s -check-prefix CHECK-V83
+// CHECK-V83: #define __HEXAGON_ARCH__ 83
+// CHECK-V83: #define __HEXAGON_PHYSICAL_SLOTS__ 4
+// CHECK-V83: #define __HEXAGON_V83__ 1
+// CHECK-V83: #define __hexagon__ 1
+
+// RUN: %clang_cc1 -E -dM -triple hexagon-unknown-elf -target-cpu hexagonv83 \
+// RUN: -target-feature +hvxv83 -target-feature +hvx-length128b %s | FileCheck \
+// RUN: %s -check-prefix CHECK-V83HVX-128B
+// CHECK-V83HVX-128B: #define __HEXAGON_ARCH__ 83
+// CHECK-V83HVX-128B: #define __HEXAGON_V83__ 1
+// CHECK-V83HVX-128B: #define __HVX_ARCH__ 83
+// CHECK-V83HVX-128B: #define __HVX_LENGTH__ 128
+// CHECK-V83HVX-128B: #define __HVX__ 1
+// CHECK-V83HVX-128B: #define __hexagon__ 1
+
// RUN: %clang_cc1 -E -dM -triple hexagon-unknown-elf -target-cpu hexagonv67 \
// RUN: -target-feature +hvxv67 -target-feature +hvx-length128b %s | FileCheck \
// RUN: %s -check-prefix CHECK-ELF
diff --git a/llvm/include/llvm/IR/IntrinsicsHexagonDep.td b/llvm/include/llvm/IR/IntrinsicsHexagonDep.td
index dde4132791f068..f43d65f9820ad0 100644
--- a/llvm/include/llvm/IR/IntrinsicsHexagonDep.td
+++ b/llvm/include/llvm/IR/IntrinsicsHexagonDep.td
@@ -1058,6 +1058,18 @@ class Hexagon_i32__Intrinsic<string GCCIntSuffix,
[llvm_i32_ty], [],
intr_properties>;
+class Hexagon___Intrinsic<string GCCIntSuffix,
+ list<IntrinsicProperty> intr_properties = [IntrNoMem]>
+ : Hexagon_Intrinsic<GCCIntSuffix,
+ [], [],
+ intr_properties>;
+
+class Hexagon__i32_Intrinsic<string GCCIntSuffix,
+ list<IntrinsicProperty> intr_properties = [IntrNoMem]>
+ : Hexagon_Intrinsic<GCCIntSuffix,
+ [], [llvm_i32_ty],
+ intr_properties>;
+
// V5 Scalar Instructions.
def int_hexagon_A2_abs :
@@ -3775,6 +3787,38 @@ Hexagon__ptr_Intrinsic<"HEXAGON_Y6_dmstart", [IntrArgMemOnly, IntrHasSideEffects
def int_hexagon_Y6_dmwait :
Hexagon_i32__Intrinsic<"HEXAGON_Y6_dmwait", [IntrArgMemOnly, IntrHasSideEffects]>;
+// V83 Scalar Instructions.
+
+def int_hexagon_A2_nop_rb :
+Hexagon___Intrinsic<"HEXAGON_A2_nop_rb", []>;
+
+def int_hexagon_F7_vsfadd :
+Hexagon_double_doubledouble_Intrinsic<"HEXAGON_F7_vsfadd", [IntrNoMem, Throws]>;
+
+def int_hexagon_F7_vsffma :
+Hexagon_double_doubledoubledouble_Intrinsic<"HEXAGON_F7_vsffma", [IntrNoMem, Throws]>;
+
+def int_hexagon_F7_vsffms :
+Hexagon_double_doubledoubledouble_Intrinsic<"HEXAGON_F7_vsffms", [IntrNoMem, Throws]>;
+
+def int_hexagon_F7_vsfmpy :
+Hexagon_double_doubledouble_Intrinsic<"HEXAGON_F7_vsfmpy", [IntrNoMem, Throws]>;
+
+def int_hexagon_F7_vsfsub :
+Hexagon_double_doubledouble_Intrinsic<"HEXAGON_F7_vsfsub", [IntrNoMem, Throws]>;
+
+def int_hexagon_V2_vallocframe_imm :
+Hexagon__i32_Intrinsic<"HEXAGON_V2_vallocframe_imm", [IntrNoMem, ImmArg<ArgIndex<0>>]>;
+
+def int_hexagon_V2_vallocframe_reg :
+Hexagon__i32_Intrinsic<"HEXAGON_V2_vallocframe_reg">;
+
+def int_hexagon_V2_vdeallocframe_imm :
+Hexagon__i32_Intrinsic<"HEXAGON_V2_vdeallocframe_imm", [IntrNoMem, ImmArg<ArgIndex<0>>]>;
+
+def int_hexagon_V2_vdeallocframe_reg :
+Hexagon__i32_Intrinsic<"HEXAGON_V2_vdeallocframe_reg">;
+
// V60 HVX Instructions.
def int_hexagon_V6_extractw :
@@ -7020,3 +7064,173 @@ Hexagon_v16i32_v16i32v16i32_Intrinsic<"HEXAGON_V6_vsub_sf_mix">;
def int_hexagon_V6_vsub_sf_mix_128B :
Hexagon_v32i32_v32i32v32i32_Intrinsic<"HEXAGON_V6_vsub_sf_mix_128B">;
+
+// V83 HVX Instructions.
+
+def int_hexagon_V6_vabsdiffuw :
+Hexagon_v16i32_v16i32v16i32_Intrinsic<"HEXAGON_V6_vabsdiffuw">;
+
+def int_hexagon_V6_vabsdiffuw_128B :
+Hexagon_v32i32_v32i32v32i32_Intrinsic<"HEXAGON_V6_vabsdiffuw_128B">;
+
+def int_hexagon_V6_vadduhhsat :
+Hexagon_v16i32_v16i32v16i32_Intrinsic<"HEXAGON_V6_vadduhhsat">;
+
+def int_hexagon_V6_vadduhhsat_128B :
+Hexagon_v32i32_v32i32v32i32_Intrinsic<"HEXAGON_V6_vadduhhsat_128B">;
+
+def int_hexagon_V6_vadduwwsat_dv :
+Hexagon_v32i32_v32i32v32i32_Intrinsic<"HEXAGON_V6_vadduwwsat_dv">;
+
+def int_hexagon_V6_vadduwwsat_dv_128B :
+Hexagon_v64i32_v64i32v64i32_Intrinsic<"HEXAGON_V6_vadduwwsat_dv_128B">;
+
+def int_hexagon_V6_vmaxuw :
+Hexagon_v16i32_v16i32v16i32_Intrinsic<"HEXAGON_V6_vmaxuw">;
+
+def int_hexagon_V6_vmaxuw_128B :
+Hexagon_v32i32_v32i32v32i32_Intrinsic<"HEXAGON_V6_vmaxuw_128B">;
+
+def int_hexagon_V6_vminuw :
+Hexagon_v16i32_v16i32v16i32_Intrinsic<"HEXAGON_V6_vminuw">;
+
+def int_hexagon_V6_vminuw_128B :
+Hexagon_v32i32_v32i32v32i32_Intrinsic<"HEXAGON_V6_vminuw_128B">;
+
+def int_hexagon_V6_vmpar_uwuhuw_si :
+Hexagon_v32i32_v32i32v16i32i32_Intrinsic<"HEXAGON_V6_vmpar_uwuhuw_si">;
+
+def int_hexagon_V6_vmpar_uwuhuw_si_128B :
+Hexagon_v64i32_v64i32v32i32i32_Intrinsic<"HEXAGON_V6_vmpar_uwuhuw_si_128B">;
+
+def int_hexagon_V6_vmpar_wuhw_si :
+Hexagon_v32i32_v32i32v16i32i32_Intrinsic<"HEXAGON_V6_vmpar_wuhw_si">;
+
+def int_hexagon_V6_vmpar_wuhw_si_128B :
+Hexagon_v64i32_v64i32v32i32i32_Intrinsic<"HEXAGON_V6_vmpar_wuhw_si_128B">;
+
+def int_hexagon_V6_vmpauhuh :
+Hexagon_v16i32_v16i32v16i32i64_Intrinsic<"HEXAGON_V6_vmpauhuh">;
+
+def int_hexagon_V6_vmpauhuh_128B :
+Hexagon_v32i32_v32i32v32i32i64_Intrinsic<"HEXAGON_V6_vmpauhuh_128B">;
+
+def int_hexagon_V6_vmpauhuhuh :
+Hexagon_v16i32_v16i32v16i32i64_Intrinsic<"HEXAGON_V6_vmpauhuhuh">;
+
+def int_hexagon_V6_vmpauhuhuh_128B :
+Hexagon_v32i32_v32i32v32i32i64_Intrinsic<"HEXAGON_V6_vmpauhuhuh_128B">;
+
+def int_hexagon_V6_vmpsuhuh :
+Hexagon_v16i32_v16i32v16i32i64_Intrinsic<"HEXAGON_V6_vmpsuhuh">;
+
+def int_hexagon_V6_vmpsuhuh_128B :
+Hexagon_v32i32_v32i32v32i32i64_Intrinsic<"HEXAGON_V6_vmpsuhuh_128B">;
+
+def int_hexagon_V6_vmpyewuh_rnd :
+Hexagon_v16i32_v16i32v16i32_Intrinsic<"HEXAGON_V6_vmpyewuh_rnd">;
+
+def int_hexagon_V6_vmpyewuh_rnd_128B :
+Hexagon_v32i32_v32i32v32i32_Intrinsic<"HEXAGON_V6_vmpyewuh_rnd_128B">;
+
+def int_hexagon_V6_vmpyhuh :
+Hexagon_v16i32_v16i32v16i32_Intrinsic<"HEXAGON_V6_vmpyhuh">;
+
+def int_hexagon_V6_vmpyhuh_128B :
+Hexagon_v32i32_v32i32v32i32_Intrinsic<"HEXAGON_V6_vmpyhuh_128B">;
+
+def int_hexagon_V6_vmpyhuh_rnd :
+Hexagon_v16i32_v16i32v16i32_Intrinsic<"HEXAGON_V6_vmpyhuh_rnd">;
+
+def int_hexagon_V6_vmpyhuh_rnd_128B :
+Hexagon_v32i32_v32i32v32i32_Intrinsic<"HEXAGON_V6_vmpyhuh_rnd_128B">;
+
+def int_hexagon_V6_vmpyowuh :
+Hexagon_v16i32_v16i32v16i32_Intrinsic<"HEXAGON_V6_vmpyowuh">;
+
+def int_hexagon_V6_vmpyowuh_128B :
+Hexagon_v32i32_v32i32v32i32_Intrinsic<"HEXAGON_V6_vmpyowuh_128B">;
+
+def int_hexagon_V6_vmpyowuh_acc :
+Hexagon_v16i32_v16i32v16i32v16i32_Intrinsic<"HEXAGON_V6_vmpyowuh_acc">;
+
+def int_hexagon_V6_vmpyowuh_acc_128B :
+Hexagon_v32i32_v32i32v32i32v32i32_Intrinsic<"HEXAGON_V6_vmpyowuh_acc_128B">;
+
+def int_hexagon_V6_vmpyowuh_rnd :
+Hexagon_v16i32_v16i32v16i32_Intrinsic<"HEXAGON_V6_vmpyowuh_rnd">;
+
+def int_hexagon_V6_vmpyowuh_rnd_128B :
+Hexagon_v32i32_v32i32v32i32_Intrinsic<"HEXAGON_V6_vmpyowuh_rnd_128B">;
+
+def int_hexagon_V6_vmpyowuh_rnd_acc :
+Hexagon_v16i32_v16i32v16i32v16i32_Intrinsic<"HEXAGON_V6_vmpyowuh_rnd_acc">;
+
+def int_hexagon_V6_vmpyowuh_rnd_acc_128B :
+Hexagon_v32i32_v32i32v32i32v32i32_Intrinsic<"HEXAGON_V6_vmpyowuh_rnd_acc_128B">;
+
+def int_hexagon_V6_vmpyrhuh :
+Hexagon_v16i32_v16i32i32_Intrinsic<"HEXAGON_V6_vmpyrhuh">;
+
+def int_hexagon_V6_vmpyrhuh_128B :
+Hexagon_v32i32_v32i32i32_Intrinsic<"HEXAGON_V6_vmpyrhuh_128B">;
+
+def int_hexagon_V6_vmpyrhuh_rnd :
+Hexagon_v16i32_v16i32i32_Intrinsic<"HEXAGON_V6_vmpyrhuh_rnd">;
+
+def int_hexagon_V6_vmpyrhuh_rnd_128B :
+Hexagon_v32i32_v32i32i32_Intrinsic<"HEXAGON_V6_vmpyrhuh_rnd_128B">;
+
+def int_hexagon_V6_vmpyrhus :
+Hexagon_v32i32_v16i32i32_Intrinsic<"HEXAGON_V6_vmpyrhus">;
+
+def int_hexagon_V6_vmpyrhus_128B :
+Hexagon_v64i32_v32i32i32_Intrinsic<"HEXAGON_V6_vmpyrhus_128B">;
+
+def int_hexagon_V6_vmpyrhus_acc :
+Hexagon_v32i32_v32i32v16i32i32_Intrinsic<"HEXAGON_V6_vmpyrhus_acc">;
+
+def int_hexagon_V6_vmpyrhus_acc_128B :
+Hexagon_v64i32_v64i32v32i32i32_Intrinsic<"HEXAGON_V6_vmpyrhus_acc_128B">;
+
+def int_hexagon_V6_vmpyruhuh :
+Hexagon_v16i32_v16i32i32_Intrinsic<"HEXAGON_V6_vmpyruhuh">;
+
+def int_hexagon_V6_vmpyruhuh_128B :
+Hexagon_v32i32_v32i32i32_Intrinsic<"HEXAGON_V6_vmpyruhuh_128B">;
+
+def int_hexagon_V6_vmpyruhuh_rnd :
+Hexagon_v16i32_v16i32i32_Intrinsic<"HEXAGON_V6_vmpyruhuh_rnd">;
+
+def int_hexagon_V6_vmpyruhuh_rnd_128B :
+Hexagon_v32i32_v32i32i32_Intrinsic<"HEXAGON_V6_vmpyruhuh_rnd_128B">;
+
+def int_hexagon_V6_vmpyuhuh_rnd :
+Hexagon_v16i32_v16i32v16i32_Intrinsic<"HEXAGON_V6_vmpyuhuh_rnd">;
+
+def int_hexagon_V6_vmpyuhuh_rnd_128B :
+Hexagon_v32i32_v32i32v32i32_Intrinsic<"HEXAGON_V6_vmpyuhuh_rnd_128B">;
+
+def int_hexagon_V6_vnavguh :
+Hexagon_v16i32_v16i32v16i32_Intrinsic<"HEXAGON_V6_vnavguh">;
+
+def int_hexagon_V6_vnavguh_128B :
+Hexagon_v32i32_v32i32v32i32_Intrinsic<"HEXAGON_V6_vnavguh_128B">;
+
+def int_hexagon_V6_vnavguw :
+Hexagon_v16i32_v16i32v16i32_Intrinsic<"HEXAGON_V6_vnavguw">;
+
+def int_hexagon_V6_vnavguw_128B :
+Hexagon_v32i32_v32i32v32i32_Intrinsic<"HEXAGON_V6_vnavguw_128B">;
+
+def int_hexagon_V6_vsubuhhsat :
+Hexagon_v16i32_v16i32v16i32_Intrinsic<"HEXAGON_V6_vsubuhhsat">;
+
+def int_hexagon_V6_vsubuhhsat_128B :
+Hexagon_v32i32_v32i32v32i32_Intrinsic<"HEXAGON_V6_vsubuhhsat_128B">;
+
+def int_hexagon_V6_vsubuwwsat_dv :
+Hexagon_v32i32_v32i32v32i32_Intrinsic<"HEXAGON_V6_vsubuwwsat_dv">;
+
+def int_hexagon_V6_vsubuwwsat_dv_128B :
+Hexagon_v64i32_v64i32v64i32_Intrinsic<"HEXAGON_V6_vsubuwwsat_dv_128B">;
diff --git a/llvm/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp b/llvm/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
index 3bd6ed4cbae865..8139bb36ab19ee 100644
--- a/llvm/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
+++ b/llvm/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
@@ -718,15 +718,14 @@ static DecodeStatus DecodeCtrRegsRegisterClass(MCInst &Inst, unsigned RegNo,
using namespace Hexagon;
static const MCPhysReg CtrlRegDecoderTable[] = {
- /* 0 */ SA0, LC0, SA1, LC1,
- /* 4 */ P3_0, C5, M0, M1,
- /* 8 */ USR, PC, UGP, GP,
- /* 12 */ CS0, CS1, UPCYCLELO, UPCYCLEHI,
- /* 16 */ FRAMELIMIT, FRAMEKEY, PKTCOUNTLO, PKTCOUNTHI,
- /* 20 */ 0, 0, 0, 0,
- /* 24 */ 0, 0, 0, 0,
- /* 28 */ 0, 0, UTIMERLO, UTIMERHI
- };
+ /* 0 */ SA0, LC0, SA1, LC1,
+ /* 4 */ P3_0, C5, M0, M1,
+ /* 8 */ USR, PC, UGP, GP,
+ /* 12 */ CS0, CS1, UPCYCLELO, UPCYCLEHI,
+ /* 16 */ FRAMELIMIT, FRAMEKEY, PKTCOUNTLO, PKTCOUNTHI,
+ /* 20 */ 0, 0, 0, 0,
+ /* 24 */ 0, 0, 0, 0,
+ /* 28 */ VFRAMELIMIT, VSP, UTIMERLO, UTIMERHI};
if (RegNo >= std::size(CtrlRegDecoderTable))
return MCDisassembler::Fail;
@@ -746,15 +745,14 @@ DecodeCtrRegs64RegisterClass(MCInst &Inst, unsigned RegNo, uint64_t /*Address*/,
using namespace Hexagon;
static const MCPhysReg CtrlReg64DecoderTable[] = {
- /* 0 */ C1_0, 0, C3_2, 0,
- /* 4 */ C5_4, 0, C7_6, 0,
- /* 8 */ C9_8, 0, C11_10, 0,
- /* 12 */ CS, 0, UPCYCLE, 0,
- /* 16 */ C17_16, 0, PKTCOUNT, 0,
- /* 20 */ 0, 0, 0, 0,
- /* 24 */ 0, 0, 0, 0,
- /* 28 */ 0, 0, UTIMER, 0
- };
+ /* 0 */ C1_0, 0, C3_2, 0,
+ /* 4 */ C5_4, 0, C7_6, 0,
+ /* 8 */ C9_8, 0, C11_10, 0,
+ /* 12 */ CS, 0, UPCYCLE, 0,
+ /* 16 */ C17_16, 0, PKTCOUNT, 0,
+ /* 20 */ 0, 0, 0, 0,
+ /* 24 */ 0, 0, 0, 0,
+ /* 28 */ C29_28, 0, UTIMER, 0};
if (RegNo >= std::size(CtrlReg64DecoderTable))
return MCDisassembler::Fail;
diff --git a/llvm/lib/Target/Hexagon/Hexagon.td b/llvm/lib/Target/Hexagon/Hexagon.td
index bd00a5e6650350..76d357d40574d5 100644
--- a/llvm/lib/Target/Hexagon/Hexagon.td
+++ b/llvm/lib/Target/Hexagon/Hexagon.td
@@ -85,6 +85,13 @@ def ExtensionHVXV81: SubtargetFeature<"hvxv81", "HexagonHVXVersion",
ExtensionHVXV68, ExtensionHVXV69, ExtensionHVXV71,
ExtensionHVXV73, ExtensionHVXV75, ExtensionHVXV79]>;
+def ExtensionHVXV83: SubtargetFeature<"hvxv83", "HexagonHVXVersion",
+ "Hexagon::ArchEnum::V83", "Hexagon HVX instructions",
+ [ExtensionHVXV65, ExtensionHVXV66, ExtensionHVXV67,
+ ExtensionHVXV68, ExtensionHVXV69, ExtensionHVXV71,
+ ExtensionHVXV73, ExtensionHVXV75, ExtensionHVXV79,
+ ExtensionHVXV81]>;
+
def ExtensionHVX64B: SubtargetFeature<"hvx-length64b", "UseHVX64BOps",
"true", "Hexagon HVX 64B instructions", [ExtensionHVX]>;
def ExtensionHVX128B: SubtargetFeature<"hvx-length128b", "UseHVX128BOps",
@@ -169,6 +176,8 @@ def UseHVXV79 : Predicate<"HST->useHVXV79Ops()">,
AssemblerPredicate<(all_of ExtensionHVXV79)>;
def UseHVXV81 : Predicate<"HST->useHVXV81Ops()">,
AssemblerPredicate<(all_of ExtensionHVXV81)>;
+def UseHVXV83 : Predicate<"HST->useHVXV83Ops()">,
+ AssemblerPredicate<(all_of ExtensionHVXV83)>;
def UseAudio : Predicate<"HST->useAudioOps()">,
AssemblerPredicate<(all_of ExtensionAudio)>;
def UseZReg : Predicate<"HST->useZRegOps()">,
@@ -505,6 +514,12 @@ def : Proc<"hexagonv81", HexagonModelV81,
ArchV68, ArchV69, ArchV71, ArchV73, ArchV75, ArchV79, ArchV81,
FeatureCompound, FeatureDuplex, FeatureMemNoShuf, FeatureMemops,
FeatureNVJ, FeatureNVS, FeaturePackets, FeatureSmallData]>;
+def : Proc<"hexagonv83", HexagonModelV83,
+ [ArchV5, ArchV55, ArchV60, ArchV62, ArchV65, ArchV66, ArchV67,
+ ArchV68, ArchV69, ArchV71, ArchV73, ArchV75, ArchV79, ArchV81,
+ ArchV83,
+ FeatureCompound, FeatureDuplex, FeatureMemNoShuf, FeatureMemops,
+ FeatureNVJ, FeatureNVS, FeaturePackets, FeatureSmallData]>;
// Need to update the correct features for tiny core.
// Disable NewValueJumps since the packetizer is unable to handle a packet with
diff --git a/llvm/lib/Target/Hexagon/HexagonDepArch.h b/llvm/lib/Target/Hexagon/HexagonDepArch.h
index 9bf4034e2ab341..926a2096f35421 100644
--- a/llvm/lib/Target/Hexagon/HexagonDepArch.h
+++ b/llvm/lib/Target/Hexagon/HexagonDepArch.h
@@ -30,7 +30,8 @@ enum class ArchEnum {
V73,
V75,
V79,
- V81
+ V81,
+ V83
};
inline std::optional<Hexagon::ArchEnum> getCpu(StringRef CPU) {
@@ -52,6 +53,7 @@ inline std::optional<Hexagon::ArchEnum> getCpu(StringRef CPU) {
.Case("hexagonv75", Hexagon::ArchEnum::V75)
.Case("hexagonv79", Hexagon::ArchEnum::V79)
.Case("hexagonv81", Hexagon::ArchEnum::V81)
+ .Case("hexagonv83", Hexagon::ArchEnum::V83)
.Default(std::nullopt);
}
} // namespace Hexagon
diff --git a/llvm/lib/Target/Hexagon/HexagonDepArch.td b/llvm/lib/Target/Hexagon/HexagonDepArch.td
index f623fd0039ebe6..0cbd18214272ea 100644
--- a/llvm/lib/Target/Hexagon/HexagonDepArch.td
+++ b/llvm/lib/Target/Hexagon/HexagonDepArch.td
@@ -36,3 +36,5 @@ def ArchV79: SubtargetFeature<"v79", "HexagonArchVersion", "Hexagon::ArchEnum::V
def HasV79 : Predicate<"HST->hasV79Ops()">, AssemblerPredicate<(all_of ArchV79)>;
def ArchV81: SubtargetFeature<"v81", "HexagonArchVersion", "Hexagon::ArchEnum::V81", "Enable Hexagon V81 architecture">;
def HasV81 : Predicate<"HST->hasV81Ops()">, AssemblerPredicate<(all_of ArchV81)>;
+def ArchV83: SubtargetFeature<"v83", "HexagonArchVersion", "Hexagon::ArchEnum::V83", "Enable Hexagon V83 architecture">;
+def HasV83 : Predicate<"HST->hasV83Ops()">, AssemblerPredicate<(all_of ArchV83)>;
diff --git a/llvm/lib/Target/Hexagon/HexagonDepIICHVX.td b/llvm/lib/Target/Hexagon/HexagonDepIICHVX.td
index e661c946907297..4efc975df02790 100644
--- a/llvm/lib/Target/Hexagon/HexagonDepIICHVX.td
+++ b/llvm/lib/Target/Hexagon/HexagonDepIICHVX.td
@@ -7938,6 +7938,608 @@ class DepHVXItinV81 {
InstrStage<1, [CVI_MPY01]>], [9, 5, 2],
[HVX_FWD, HVX_FWD, Hex_FWD]>,
+ InstrItinData <tc_f21e8abb, /*SLOT0,NOSLOT1,STORE,VP*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [SLOT1], 0>,
+ InstrStage<1, [CVI_ST], 0>,
+ InstrStage<1, [CVI_XLANE]>], [1, 2, 5],
+ [Hex_FWD, Hex_FWD, HVX_FWD]>
+ ];
+}
+
+class DepHVXItinV83 {
+ list<InstrItinData> DepHVXItinV83_list = [
+ InstrItinData <tc_0390c1ca, /*SLOT01,LOAD,VA,VX_DV*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_LD], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE], 0>,
+ InstrStage<1, [CVI_MPY01]>], [9, 1, 2],
+ [HVX_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_04da405a, /*SLOT0123,VP_VS*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_XLSHF]>], [9, 5],
+ [HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_05ca8cfd, /*SLOT0123,VS*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_SHIFT]>], [9, 5, 5],
+ [HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_08a4f1b6, /*SLOT23,VX_DV*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY01]>], [9, 7, 5, 5],
+ [HVX_FWD, HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_0afc8be9, /*SLOT23,VX_DV*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY01]>], [9, 5],
+ [HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_0b04c6c7, /*SLOT23,VX_DV*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY01]>], [9, 5, 2],
+ [HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_0ec46cf9, /*SLOT0123,VA*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [9, 7],
+ [HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_131f1c81, /*SLOT0,NOSLOT1,STORE,VP*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [SLOT1], 0>,
+ InstrStage<1, [CVI_ST], 0>,
+ InstrStage<1, [CVI_XLANE]>], [2, 1, 2, 5],
+ [Hex_FWD, Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_1381a97c, /*SLOT0123,4SLOT*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_ALL]>], [],
+ []>,
+
+ InstrItinData <tc_15fdf750, /*SLOT23,VS_VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1], 0>,
+ InstrStage<1, [CVI_SHIFT, CVI_XLANE]>], [9, 7, 5, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_16ff9ef8, /*SLOT0123,VS*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_SHIFT]>], [9, 5, 5, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_191381c1, /*SLOT0,STORE,VA*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [3, 7, 1, 2, 7],
+ [Hex_FWD, HVX_FWD, Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_1ad8a370, /*SLOT23,VX_DV*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY01]>], [9, 5, 2, 2],
+ [HVX_FWD, HVX_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_1ba8a0cd, /*SLOT01,LOAD,VA*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_LD], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [9, 3, 1, 2],
+ [HVX_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_20a4bbec, /*SLOT0,STORE*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST]>], [3, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_227864f7, /*SLOT0,STORE,VA,VX_DV*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE], 0>,
+ InstrStage<1, [CVI_MPY01]>], [3, 1, 2, 5],
+ [Hex_FWD, Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_257f6f7c, /*SLOT0123,VA*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [9, 7, 7, 7],
+ [HVX_FWD, HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_26a377fe, /*SLOT23,4SLOT_MPY*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_ALL_NOMEM]>], [9, 3, 5, 2],
+ [HVX_FWD, Hex_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_2a698a03, /*SLOT0123,VSorVP*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_SHIFT, CVI_XLANE]>], [9, 5],
+ [HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_2b4c548e, /*SLOT23,VX_DV*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY01]>], [9, 5, 5, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_2c745bb8, /*SLOT0123,VP_VS*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_XLSHF]>], [9, 7, 5],
+ [HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_2d4051cd, /*SLOT23,4SLOT_MPY*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_ALL_NOMEM]>], [9, 3, 7, 5, 2],
+ [HVX_FWD, Hex_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_2e8f5f6e, /*SLOT23,VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1]>], [9, 7, 7, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_309dbb4f, /*SLOT0123,VS*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_SHIFT]>], [9, 7, 5, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_37820f4c, /*SLOT23,VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1]>], [9, 7, 5, 5],
+ [HVX_FWD, HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_3904b926, /*SLOT01,LOAD*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_LD]>], [9, 2, 1, 2],
+ [HVX_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_3aacf4a8, /*SLOT0123,VA*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [9, 2, 7],
+ [HVX_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_3ad719fb, /*SLOT01,ZW*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_ZW]>], [3, 2, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_3c56e5ce, /*SLOT0,NOSLOT1,LOAD,VP*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [SLOT1], 0>,
+ InstrStage<1, [CVI_LD], 0>,
+ InstrStage<1, [CVI_XLANE]>], [9, 3, 1, 2],
+ [HVX_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_3c8c15d0, /*SLOT23,VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1]>], [9, 5],
+ [HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_3ce09744, /*SLOT0,STORE*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST]>], [1, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_3e2aaafc, /*SLOT0,STORE,VA*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [3, 1, 2, 7],
+ [Hex_FWD, Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_447d9895, /*SLOT0,STORE,VA*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [7, 1, 2, 7],
+ [HVX_FWD, Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_453fe68d, /*SLOT01,LOAD,VA*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_LD], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [9, 3, 2, 1, 2],
+ [HVX_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_46d6c3e0, /*SLOT0123,VP*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_XLANE]>], [9, 5, 5],
+ [HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_4942646a, /*SLOT23,VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1]>], [9, 7, 5, 5, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_51d0ecc3, /*SLOT0123,VS*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_SHIFT]>], [9, 5],
+ [HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_52447ecc, /*SLOT01,LOAD*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_LD]>], [9, 1, 2],
+ [HVX_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_531b383c, /*SLOT0123*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [9, 5, 5],
+ [HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_540c3da3, /*SLOT0,VA*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [4, 7, 1],
+ [Hex_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_54a0dc47, /*SLOT0,STORE,VA*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [3, 2, 1, 2, 7],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_561aaa58, /*SLOT0123,VP_VS*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_XLSHF]>], [9, 9, 5, 5, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_56c4f9fe, /*SLOT0123,VA*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [9, 7, 7],
+ [HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_56e64202, /*SLOT0123,VP*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_XLANE]>], [9, 5, 5, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_58d21193, /*SLOT0,STORE,VA_DV*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST], 0>,
+ InstrStage<1, [CVI_MPY01, CVI_XLSHF]>], [7, 1, 2, 7, 7],
+ [HVX_FWD, Hex_FWD, Hex_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_57a4709c, /*SLOT0123,VA*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [9, 7, 7, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_5bf8afbb, /*SLOT0123,VP*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_XLANE]>], [9, 2],
+ [HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_5cdf8c84, /*SLOT23,VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1]>], [9, 7],
+ [HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_61bf7c03, /*SLOT23,4SLOT_MPY*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_ALL_NOMEM]>], [9, 5, 2],
+ [HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_649072c2, /*SLOT23,VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1]>], [9, 5, 2],
+ [HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_660769f1, /*SLOT23,VX_DV*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY01]>], [9, 7, 5, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_663c80a7, /*SLOT01,LOAD*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_LD]>], [9, 3, 1, 2],
+ [HVX_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_6942b6e0, /*SLOT0,STORE*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST]>], [3, 1, 2, 5],
+ [Hex_FWD, Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_6e7fa133, /*SLOT0123,VP*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_XLANE]>], [9, 5, 2],
+ [HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_7095ecba, /*SLOT01,LOAD,VA_DV*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_LD], 0>,
+ InstrStage<1, [CVI_MPY01, CVI_XLSHF]>], [1, 2, 7],
+ [Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_71646d06, /*SLOT0123,VA_DV*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY01, CVI_XLSHF]>], [9, 7, 7, 7],
+ [HVX_FWD, HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_7177e272, /*SLOT0,STORE*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST]>], [2, 1, 2, 5],
+ [Hex_FWD, Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_718b5c53, /*SLOT0123,VA_DV*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY01, CVI_XLSHF]>], [9],
+ [HVX_FWD]>,
+
+ InstrItinData <tc_7273323b, /*SLOT0,STORE,VA_DV*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST], 0>,
+ InstrStage<1, [CVI_MPY01, CVI_XLSHF]>], [1, 2, 7, 7],
+ [Hex_FWD, Hex_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_72e2b393, /*SLOT23,VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1]>], [9, 7, 5, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_73efe966, /*SLOT23,VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1]>], [9, 5, 5],
+ [HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_7417e785, /*SLOT0123,VS*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_SHIFT]>], [9, 5, 2],
+ [HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_767c4e9d, /*SLOT0123,4SLOT*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_ALL]>], [3, 2],
+ [HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_7d68d5c2, /*SLOT01,LOAD,VA*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_LD], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [7, 1, 2, 7],
+ [HVX_FWD, Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_7e6a3e89, /*SLOT0123,VA*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [9, 9, 7, 7, 7],
+ [HVX_FWD, HVX_FWD, HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_8772086c, /*SLOT0123,VA*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [9, 7, 7],
+ [HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_87adc037, /*SLOT0123,VP_VS*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_XLSHF]>], [9, 5, 5, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_8e420e4d, /*SLOT0,STORE,VA*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [7, 1, 2, 7, 7],
+ [HVX_FWD, Hex_FWD, Hex_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_90bcc1db, /*SLOT2,VX_DV*/
+ [InstrStage<1, [SLOT2], 0>,
+ InstrStage<1, [CVI_MPY01]>], [9, 5, 5, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_933f2b39, /*SLOT23,4SLOT_MPY*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_ALL_NOMEM]>], [9, 7, 5, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_946013d8, /*SLOT0123,VP*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_XLANE]>], [9, 5],
+ [HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_9a1cab75, /*SLOT01,LOAD,VA,VX_DV*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_LD], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE], 0>,
+ InstrStage<1, [CVI_MPY01]>], [9, 3, 1, 2],
+ [HVX_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_9aff7a2a, /*SLOT0,STORE,VA,VX_DV*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE], 0>,
+ InstrStage<1, [CVI_MPY01]>], [1, 2, 5],
+ [Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_9d1dc972, /*SLOT0123,VP_VS*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_XLSHF]>], [9, 7, 5, 5, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_9f363d21, /*SLOT0,STORE,VA*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [1, 2, 7, 7],
+ [Hex_FWD, Hex_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_a02a10a8, /*SLOT0,STORE,VA*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [2, 1, 2, 7],
+ [Hex_FWD, Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_a0dbea28, /*SLOT01,ZW*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_ZW]>], [3, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_a19b9305, /*SLOT23,VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1]>], [9, 7, 5, 5],
+ [HVX_FWD, HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_a28f32b5, /*SLOT01,LOAD,VA*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_LD], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [1, 2, 7],
+ [Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_a69eeee1, /*SLOT01,LOAD,VA_DV*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_LD], 0>,
+ InstrStage<1, [CVI_MPY01, CVI_XLSHF]>], [7, 1, 2, 7],
+ [HVX_FWD, Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_a7e6707d, /*SLOT0,NOSLOT1,LOAD,VP*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [SLOT1], 0>,
+ InstrStage<1, [CVI_LD], 0>,
+ InstrStage<1, [CVI_XLANE]>], [9, 1, 2],
+ [HVX_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_ab23f776, /*SLOT0,STORE*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST]>], [1, 2, 5],
+ [Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_abe8c3b2, /*SLOT01,LOAD,VA*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_LD], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [9, 2, 1, 2],
+ [HVX_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_ac4046bc, /*SLOT23,VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1]>], [9, 7, 2],
+ [HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_af25efd9, /*SLOT0123,VA_DV*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY01, CVI_XLSHF]>], [9, 2, 7, 7],
+ [HVX_FWD, Hex_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_b091f1c6, /*SLOT23,VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1]>], [9, 7, 5, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_b28e51aa, /*SLOT0123,4SLOT*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_ALL]>], [2],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_b4416217, /*SLOT0123,VA_DV*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY01, CVI_XLSHF]>], [9, 7],
+ [HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_b9db8205, /*SLOT01,LOAD*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_LD]>], [9, 3, 2, 1, 2],
+ [HVX_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_bb599486, /*SLOT23,VX_DV*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY01]>], [9, 7, 5, 5, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_c0749f3c, /*SLOT01,LOAD,VA*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_LD], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [9, 1, 2],
+ [HVX_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_c127de3a, /*SLOT23,VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1]>], [9, 5, 5],
+ [HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_c4edf264, /*SLOT23,VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1]>], [9, 2],
+ [HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_c5dba46e, /*SLOT0,STORE,VA*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [1, 2, 7],
+ [Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_c7039829, /*SLOT0,NOSLOT1,STORE,VP*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [SLOT1], 0>,
+ InstrStage<1, [CVI_ST], 0>,
+ InstrStage<1, [CVI_XLANE]>], [3, 2, 1, 2, 5],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_cd94bfe0, /*SLOT23,VS_VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1], 0>,
+ InstrStage<1, [CVI_SHIFT, CVI_XLANE]>], [9, 5, 2],
+ [HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_cda936da, /*SLOT23,VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1]>], [9, 7, 7],
+ [HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_d8287c14, /*SLOT23,VX_DV*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY01]>], [9, 5, 5],
+ [HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_db5555f3, /*SLOT0123,VA_DV*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY01, CVI_XLSHF]>], [9, 7, 7],
+ [HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_dcca380f, /*SLOT23,VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1]>], [9, 5, 2],
+ [HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_dd5b0695, /*SLOT01,ZW*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_ZW]>], [2, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_df80eeb0, /*SLOT0123,VP_VS*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_XLSHF]>], [9, 7, 5, 5],
+ [HVX_FWD, HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_e2d2e9e5, /*SLOT0,NOSLOT1,STORE,VP*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [SLOT1], 0>,
+ InstrStage<1, [CVI_ST], 0>,
+ InstrStage<1, [CVI_XLANE]>], [3, 1, 2, 5],
+ [Hex_FWD, Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_e2fdd6e6, /*SLOT0123*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [9, 5],
+ [HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_e35c1e93, /*SLOT0123,VA*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1, CVI_SHIFT, CVI_XLANE]>], [9, 9, 7, 7],
+ [HVX_FWD, HVX_FWD, HVX_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_e3f68a46, /*SLOT0123,4SLOT*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_ALL]>], [3],
+ [HVX_FWD]>,
+
+ InstrItinData <tc_e675c45a, /*SLOT23,VX_DV*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY01]>], [9, 7, 5, 2, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_e699ae41, /*SLOT01,ZW*/
+ [InstrStage<1, [SLOT0, SLOT1], 0>,
+ InstrStage<1, [CVI_ZW]>], [1, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_e99d4c2e, /*SLOT0,STORE*/
+ [InstrStage<1, [SLOT0], 0>,
+ InstrStage<1, [CVI_ST]>], [3, 2, 1, 2, 5],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, HVX_FWD]>,
+
+ InstrItinData <tc_f175e046, /*SLOT23,VX*/
+ [InstrStage<1, [SLOT2, SLOT3], 0>,
+ InstrStage<1, [CVI_MPY0, CVI_MPY1]>], [9, 5, 5, 2],
+ [HVX_FWD, HVX_FWD, HVX_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_f1de44ef, /*SLOT2,VX_DV*/
+ [InstrStage<1, [SLOT2], 0>,
+ InstrStage<1, [CVI_MPY01]>], [9, 5, 2],
+ [HVX_FWD, HVX_FWD, Hex_FWD]>,
+
InstrItinData <tc_f21e8abb, /*SLOT0,NOSLOT1,STORE,VP*/
[InstrStage<1, [SLOT0], 0>,
InstrStage<1, [SLOT1], 0>,
diff --git a/llvm/lib/Target/Hexagon/HexagonDepIICScalar.td b/llvm/lib/Target/Hexagon/HexagonDepIICScalar.td
index 48b665c3ee461b..2eb7fdac04f77f 100644
--- a/llvm/lib/Target/Hexagon/HexagonDepIICScalar.td
+++ b/llvm/lib/Target/Hexagon/HexagonDepIICScalar.td
@@ -14623,6 +14623,894 @@ class DepScalarItinV81 {
[InstrStage<1, [SLOT3]>], [4, 2],
[Hex_FWD, Hex_FWD]>,
+ InstrItinData <tc_fedb7e19, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 2, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>
+ ];
+}
+
+class DepScalarItinV83 {
+ list<InstrItinData> DepScalarItinV83_list = [
+ InstrItinData <tc_011e0e9d, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [2, 1, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_01d44cb2, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_01e1be3b, /*tc_3x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_02fe1c65, /*tc_4x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [5, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_0655b949, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [2, 3],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_075c8dd8, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 3, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_0a195f2c, /*tc_4x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [5, 2, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_0a43be35, /*tc_3x*/
+ [InstrStage<1, [SLOT3]>], [1],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_0a6c20ae, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [2, 1, 1, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_0ba0d5da, /*tc_3stall*/
+ [InstrStage<1, [SLOT2]>], [1],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_0dfac0a7, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_0fac1eb8, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [3, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_112d30d6, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [2],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_1242dc2a, /*tc_ld*/
+ [InstrStage<1, [SLOT0]>], [2],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_1248597c, /*tc_3x*/
+ [InstrStage<1, [SLOT3]>], [2, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_139ef484, /*tc_3stall*/
+ [InstrStage<1, [SLOT2]>], [1, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_14ab4f41, /*tc_newvjump*/
+ [InstrStage<1, [SLOT0]>], [3, 3, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_151bf368, /*tc_1*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [3, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_158aa3f7, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [1, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_197dce51, /*tc_3x*/
+ [InstrStage<1, [SLOT3]>], [4, 2, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_1981450d, /*tc_newvjump*/
+ [InstrStage<1, [SLOT0]>], [3],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_1c2c7a4a, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [3, 2, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_1c7522a8, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 3, 2, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_1d41f8b7, /*tc_1*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [3, 4, 2, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_1fcb8495, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_1fe4ab69, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [2, 1, 1, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_20131976, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_2237d952, /*tc_ld*/
+ [InstrStage<1, [SLOT0]>], [1, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_23708a21, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [],
+ []>,
+
+ InstrItinData <tc_2471c1c8, /*tc_ld*/
+ [InstrStage<1, [SLOT0]>], [4, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_24e109c7, /*tc_newvjump*/
+ [InstrStage<1, [SLOT0]>], [3, 3, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_24f426ab, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [2, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_27106296, /*tc_3x*/
+ [InstrStage<1, [SLOT3]>], [4, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_280f7fe1, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [1, 1, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_28e55c6f, /*tc_3x*/
+ [InstrStage<1, [SLOT3]>], [1, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_2c13e7f5, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_2c3e17fc, /*tc_3x*/
+ [InstrStage<1, [SLOT3]>], [1],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_2f573607, /*tc_1*/
+ [InstrStage<1, [SLOT2]>], [2, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_33e7e673, /*tc_2early*/
+ [InstrStage<1, [SLOT2]>], [],
+ []>,
+
+ InstrItinData <tc_362b0be2, /*tc_3*/
+ [InstrStage<1, [SLOT2]>], [1],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_38382228, /*tc_3x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_388f9897, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [3, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_38e0bae9, /*tc_3x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 4, 2, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_3d14a17b, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [3, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_3edca78f, /*tc_2*/
+ [InstrStage<1, [SLOT3]>], [4, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_3fbf1042, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [3],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_407e96f9, /*tc_1*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [3, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_40d64c94, /*tc_newvjump*/
+ [InstrStage<1, [SLOT0]>], [3, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_4222e6bf, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_42ff66ba, /*tc_1*/
+ [InstrStage<1, [SLOT2]>], [2, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_442395f3, /*tc_2latepred*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [4, 3, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_449acf79, /*tc_latepredstaia*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 3, 1, 2, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_44d5a428, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [1, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_44fffc58, /*tc_3*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [2],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_45791fb8, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 2, 1, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_45f9d1be, /*tc_2early*/
+ [InstrStage<1, [SLOT2]>], [2],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_46c18ecf, /*tc_3x*/
+ [InstrStage<1, [SLOT3]>], [4, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_49fdfd4b, /*tc_3stall*/
+ [InstrStage<1, [SLOT3]>], [4, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_4a55d03c, /*tc_1*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [3, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_4abdbdc6, /*tc_3x*/
+ [InstrStage<1, [SLOT3]>], [2, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_4ac61d92, /*tc_2latepred*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [4, 3, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_4bf903b0, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [3],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_503ce0f3, /*tc_3x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 2, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_512b1653, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [1, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_53c851ab, /*tc_3stall*/
+ [InstrStage<1, [SLOT2]>], [4, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_54f0cee2, /*tc_3stall*/
+ [InstrStage<1, [SLOT3]>], [1],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_5502c366, /*tc_1*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [3, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_55255f2b, /*tc_3stall*/
+ [InstrStage<1, [SLOT3]>], [],
+ []>,
+
+ InstrItinData <tc_556f6577, /*tc_3x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_55a9a350, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [1, 2, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_55b33fda, /*tc_1*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [3, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_56a124a7, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [2, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_57a55b54, /*tc_1*/
+ [InstrStage<1, [SLOT3]>], [2, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_5944960d, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [1, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_59a7822c, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [2, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_5a222e89, /*tc_2early*/
+ [InstrStage<1, [SLOT2]>], [1, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_5a4b5e58, /*tc_3x*/
+ [InstrStage<1, [SLOT3]>], [4, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_5b347363, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [3, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_5ceb2f9e, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 3, 1, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_5da50c4b, /*tc_1*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [3, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_5deb5e47, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [1, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_5e4cf0e8, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_5f2afaf7, /*tc_latepredldaia*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 4, 3, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_60e324ff, /*tc_1*/
+ [InstrStage<1, [SLOT2]>], [2],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_63567288, /*tc_2latepred*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_64b00d8a, /*tc_ld*/
+ [InstrStage<1, [SLOT0]>], [4, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_651cbe02, /*tc_1*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [3, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_65279839, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_65cbd974, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [3, 1, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_69bfb303, /*tc_3*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [2, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_6aa823ab, /*tc_3stall*/
+ [InstrStage<1, [SLOT3]>], [4, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_6ae3426b, /*tc_3x*/
+ [InstrStage<1, [SLOT3]>], [4, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_6d861a95, /*tc_3x*/
+ [InstrStage<1, [SLOT3]>], [2, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_6e20402a, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [2, 3],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_6f42bc60, /*tc_3stall*/
+ [InstrStage<1, [SLOT0]>], [4, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_6fb52018, /*tc_3stall*/
+ [InstrStage<1, [SLOT0]>], [1, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_6fc5dbea, /*tc_1*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [3, 2, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_711c805f, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [2, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_713b66bf, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [3, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_7401744f, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 4, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_7476d766, /*tc_3stall*/
+ [InstrStage<1, [SLOT3]>], [4, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_74a42bda, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [3, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_759e57be, /*tc_3stall*/
+ [InstrStage<1, [SLOT2]>], [4, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_76bb5435, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 3, 2, 1, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_7d6a2568, /*tc_3stall*/
+ [InstrStage<1, [SLOT2]>], [1],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_77f94a5e, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [],
+ []>,
+
+ InstrItinData <tc_788b1d09, /*tc_3x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 1, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_78f87ed3, /*tc_3stall*/
+ [InstrStage<1, [SLOT0]>], [],
+ []>,
+
+ InstrItinData <tc_7af3a37e, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [1, 3],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_7b9187d3, /*tc_newvjump*/
+ [InstrStage<1, [SLOT0]>], [3, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_7c28bd7e, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [3],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_7c31e19a, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [1, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_7c6d32e4, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_7dc63b5c, /*tc_3x*/
+ [InstrStage<1, [SLOT3]>], [4, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_7f58404a, /*tc_3stall*/
+ [InstrStage<1, [SLOT3]>], [],
+ []>,
+
+ InstrItinData <tc_7f7f45f5, /*tc_4x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [5, 5, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_7f8ae742, /*tc_3x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_8035e91f, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [2, 1, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_822c3c68, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 3, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_829d8a86, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [3, 1, 1, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_838c4d7a, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [1, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_84a7500d, /*tc_2*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [4, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_86173609, /*tc_2latepred*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [4, 3, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_887d1bb7, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [1, 2, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_8a6d0d94, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_8a825db2, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_8b5bd4f5, /*tc_2*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [4, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_8e82e8ca, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [3, 1, 1, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_8f36a2fd, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_9124c04f, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [3, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_92240447, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [3, 1, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_934753bb, /*tc_ld*/
+ [InstrStage<1, [SLOT0]>], [3, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_937dd41c, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [],
+ []>,
+
+ InstrItinData <tc_9406230a, /*tc_3x*/
+ [InstrStage<1, [SLOT3]>], [2, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_95a33176, /*tc_2*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [4, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_95f43c5e, /*tc_3*/
+ [InstrStage<1, [SLOT2]>], [1],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_96ef76ef, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [1, 1, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_975a4e54, /*tc_newvjump*/
+ [InstrStage<1, [SLOT0]>], [3, 3, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_9783714b, /*tc_4x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [5, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_9b20a062, /*tc_3stall*/
+ [InstrStage<1, [SLOT2]>], [4, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_9b34f5e0, /*tc_3stall*/
+ [InstrStage<1, [SLOT2]>], [],
+ []>,
+
+ InstrItinData <tc_9b3c0462, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_9bcfb2ee, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [1, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_9c52f549, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [3, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_9e27f2f9, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [2, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_9e72dc89, /*tc_4x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [5, 2, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_9edb7c77, /*tc_4x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [5, 2, 1, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_9edefe01, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [3, 2, 1, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_9f6cd987, /*tc_1*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [3, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_a08b630b, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_a1297125, /*tc_1*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [3, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_a154b476, /*tc_3x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_a2b365d2, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [3, 1, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_a3070909, /*tc_3stall*/
+ [InstrStage<1, [SLOT0]>], [1, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_a32e03e7, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 2, 1, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_a38c45dc, /*tc_3x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 1, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_a4e22bbd, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_a4ee89db, /*tc_2early*/
+ [InstrStage<1, [SLOT0]>], [],
+ []>,
+
+ InstrItinData <tc_a724463d, /*tc_3stall*/
+ [InstrStage<1, [SLOT0]>], [4, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_a7a13fac, /*tc_1*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [3, 2, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_a7bdb22c, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_a9edeffa, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [1, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_abfd9a6d, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 1, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_ac65613f, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 3, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_addc37a8, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [3, 1, 2, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_ae5babd7, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [1, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_aee6250c, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_af6af259, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 3, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_b1ae5f67, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [1],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_b2196a3f, /*tc_3stall*/
+ [InstrStage<1, [SLOT3]>], [1, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_b3d46584, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [],
+ []>,
+
+ InstrItinData <tc_b4dc7630, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [3, 1, 2, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_b7c4062a, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 3, 1, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_b837298f, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [],
+ []>,
+
+ InstrItinData <tc_b9bec29e, /*tc_3stall*/
+ [InstrStage<1, [SLOT2]>], [],
+ []>,
+
+ InstrItinData <tc_ba9255a6, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [2, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_bb07f2c5, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [3, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_bb78483e, /*tc_3stall*/
+ [InstrStage<1, [SLOT3]>], [4, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_bb831a7c, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 2, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_bf2ffc0f, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 1, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_c20701f0, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_c21d7447, /*tc_3x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_c57d9f39, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [3, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_c818ff7f, /*tc_newvjump*/
+ [InstrStage<1, [SLOT0]>], [],
+ []>,
+
+ InstrItinData <tc_ce59038e, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [3, 2, 1, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_cfa0e29b, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [2, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_d03278fd, /*tc_st*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [2, 1, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_d234b61a, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [1],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_d33e5eee, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [3, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_d3632d88, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_d45ba9cd, /*tc_ld*/
+ [InstrStage<1, [SLOT0]>], [1],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_d57d649c, /*tc_3stall*/
+ [InstrStage<1, [SLOT2]>], [2],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_d61dfdc3, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_d68dca5c, /*tc_3stall*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_d71ea8fa, /*tc_3x*/
+ [InstrStage<1, [SLOT3]>], [2, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_d7718fbe, /*tc_3x*/
+ [InstrStage<1, [SLOT3]>], [1],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_db596beb, /*tc_3x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_db96aa6b, /*tc_st*/
+ [InstrStage<1, [SLOT0]>], [1],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_dc51281d, /*tc_3*/
+ [InstrStage<1, [SLOT2]>], [2, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_decdde8a, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [2],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_df5d53f9, /*tc_newvjump*/
+ [InstrStage<1, [SLOT0]>], [3, 2, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_e3d699e3, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_e60def48, /*tc_1*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [2],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_e9170fb7, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 1],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_ed03645c, /*tc_1*/
+ [InstrStage<1, [SLOT2]>], [3, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_ed3f8d2a, /*tc_ld*/
+ [InstrStage<1, [SLOT0]>], [4, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_eed07714, /*tc_ld*/
+ [InstrStage<1, [SLOT0, SLOT1]>], [4, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_eeda4109, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [3, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_ef921005, /*tc_1*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [3, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_f098b237, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_f0cdeccf, /*tc_3x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 1, 1, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_f0e8e832, /*tc_4x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [5, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_f34c1c21, /*tc_2*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [4, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_f38f92e1, /*tc_newvjump*/
+ [InstrStage<1, [SLOT0]>], [2],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_f529831b, /*tc_latepredstaia*/
+ [InstrStage<1, [SLOT0]>], [4, 3, 1, 2, 3],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_f6e2aff9, /*tc_newvjump*/
+ [InstrStage<1, [SLOT0]>], [3, 2, 2],
+ [Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_f7569068, /*tc_4x*/
+ [InstrStage<1, [SLOT2, SLOT3]>], [5, 5, 1, 1],
+ [Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_f97707c1, /*tc_1*/
+ [InstrStage<1, [SLOT2]>], [2],
+ [Hex_FWD]>,
+
+ InstrItinData <tc_f999c66e, /*tc_1*/
+ [InstrStage<1, [SLOT0, SLOT1, SLOT2, SLOT3]>], [2, 2],
+ [Hex_FWD, Hex_FWD]>,
+
+ InstrItinData <tc_fae9dfa5, /*tc_3x*/
+ [InstrStage<1, [SLOT3]>], [4, 2],
+ [Hex_FWD, Hex_FWD]>,
+
InstrItinData <tc_fedb7e19, /*tc_ld*/
[InstrStage<1, [SLOT0, SLOT1]>], [4, 2, 1, 2],
[Hex_FWD, Hex_FWD, Hex_FWD, Hex_FWD]>
diff --git a/llvm/lib/Target/Hexagon/HexagonDepInstrFormats.td b/llvm/lib/Target/Hexagon/HexagonDepInstrFormats.td
index f48695c6ebc003..04bd89b5dd3b71 100644
--- a/llvm/lib/Target/Hexagon/HexagonDepInstrFormats.td
+++ b/llvm/lib/Target/Hexagon/HexagonDepInstrFormats.td
@@ -1682,6 +1682,10 @@ class Enc_7a0ea6 : OpcodeHexagon {
let Inst{3-0} = Rd16{3-0};
bits <0> n1;
}
+class Enc_7abde3 : OpcodeHexagon {
+ bits <7> Ii;
+ let Inst{6-0} = Ii{6-0};
+}
class Enc_7b523d : OpcodeHexagon {
bits <5> Vu32;
let Inst{12-8} = Vu32{4-0};
diff --git a/llvm/lib/Target/Hexagon/HexagonDepInstrInfo.td b/llvm/lib/Target/Hexagon/HexagonDepInstrInfo.td
index 6771b42652d336..bfa1b1802559c6 100644
--- a/llvm/lib/Target/Hexagon/HexagonDepInstrInfo.td
+++ b/llvm/lib/Target/Hexagon/HexagonDepInstrInfo.td
@@ -557,6 +557,15 @@ tc_b837298f, TypeALU32_2op>, Enc_e3b0c4 {
let Inst{13-0} = 0b00000000000000;
let Inst{31-16} = 0b0111111100000000;
}
+def A2_nop_rb : HInst<
+(outs),
+(ins),
+"nop_rb",
+tc_b837298f, TypeALU32_2op>, Enc_e3b0c4, Requires<[HasV83]> {
+let Inst{13-0} = 0b00000000000000;
+let Inst{31-16} = 0b0111111110000000;
+let hasSideEffects = 1;
+}
def A2_not : HInst<
(outs IntRegs:$Rd32),
(ins IntRegs:$Rs32),
@@ -4840,6 +4849,63 @@ let opNewValue = 0;
let isFP = 1;
let Uses = [USR];
}
+def F7_vsfadd : HInst<
+(outs DoubleRegs:$Rdd32),
+(ins DoubleRegs:$Rss32, DoubleRegs:$Rtt32),
+"$Rdd32 = vsfadd($Rss32,$Rtt32)",
+tc_02fe1c65, TypeM>, Enc_a56825, Requires<[HasV83,UseAudio]> {
+let Inst{7-5} = 0b010;
+let Inst{13-13} = 0b0;
+let Inst{31-21} = 0b11101011000;
+let isFP = 1;
+let Uses = [USR];
+}
+def F7_vsffma : HInst<
+(outs DoubleRegs:$Rxx32),
+(ins DoubleRegs:$Rxx32in, DoubleRegs:$Rss32, DoubleRegs:$Rtt32),
+"$Rxx32 += vsfmpy($Rss32,$Rtt32)",
+tc_9e72dc89, TypeM>, Enc_88c16c, Requires<[HasV83,UseAudio]> {
+let Inst{7-5} = 0b010;
+let Inst{13-13} = 0b0;
+let Inst{31-21} = 0b11101011010;
+let isFP = 1;
+let Uses = [USR];
+let Constraints = "$Rxx32 = $Rxx32in";
+}
+def F7_vsffms : HInst<
+(outs DoubleRegs:$Rxx32),
+(ins DoubleRegs:$Rxx32in, DoubleRegs:$Rss32, DoubleRegs:$Rtt32),
+"$Rxx32 -= vsfmpy($Rss32,$Rtt32)",
+tc_9e72dc89, TypeM>, Enc_88c16c, Requires<[HasV83,UseAudio]> {
+let Inst{7-5} = 0b011;
+let Inst{13-13} = 0b0;
+let Inst{31-21} = 0b11101011010;
+let isFP = 1;
+let Uses = [USR];
+let Constraints = "$Rxx32 = $Rxx32in";
+}
+def F7_vsfmpy : HInst<
+(outs DoubleRegs:$Rdd32),
+(ins DoubleRegs:$Rss32, DoubleRegs:$Rtt32),
+"$Rdd32 = vsfmpy($Rss32,$Rtt32)",
+tc_02fe1c65, TypeM>, Enc_a56825, Requires<[HasV83,UseAudio]> {
+let Inst{7-5} = 0b001;
+let Inst{13-13} = 0b0;
+let Inst{31-21} = 0b11101011010;
+let isFP = 1;
+let Uses = [USR];
+}
+def F7_vsfsub : HInst<
+(outs DoubleRegs:$Rdd32),
+(ins DoubleRegs:$Rss32, DoubleRegs:$Rtt32),
+"$Rdd32 = vsfsub($Rss32,$Rtt32)",
+tc_02fe1c65, TypeM>, Enc_a56825, Requires<[HasV83,UseAudio]> {
+let Inst{7-5} = 0b011;
+let Inst{13-13} = 0b0;
+let Inst{31-21} = 0b11101011000;
+let isFP = 1;
+let Uses = [USR];
+}
def G4_tfrgcpp : HInst<
(outs DoubleRegs:$Rdd32),
(ins GuestRegs64:$Gss32),
@@ -4941,6 +5007,18 @@ let Uses = [R29];
let Defs = [PC, R31];
let hasSideEffects = 1;
}
+def J2_callr_rb : HInst<
+(outs),
+(ins IntRegs:$Rs32),
+"callr_rb $Rs32",
+tc_362b0be2, TypeJ>, Enc_ecbcc8, Requires<[HasV83]> {
+let Inst{13-0} = 0b00000000000000;
+let Inst{31-21} = 0b01010000001;
+let isCall = 1;
+let prefersSlot3 = 1;
+let cofMax1 = 1;
+let Defs = [PC, R31];
+}
def J2_callrf : HInst<
(outs),
(ins PredRegs:$Pu4, IntRegs:$Rs32),
@@ -4959,6 +5037,22 @@ let Defs = [PC, R31];
let hasSideEffects = 1;
let isTaken = Inst{12};
}
+def J2_callrf_rb : HInst<
+(outs),
+(ins PredRegs:$Pu4, IntRegs:$Rs32),
+"if (!$Pu4) callr_rb $Rs32",
+tc_dc51281d, TypeJ>, Enc_88d4d9, Requires<[HasV83]> {
+let Inst{7-0} = 0b00000000;
+let Inst{13-10} = 0b0000;
+let Inst{31-21} = 0b01010001101;
+let isPredicated = 1;
+let isPredicatedFalse = 1;
+let isCall = 1;
+let prefersSlot3 = 1;
+let cofMax1 = 1;
+let Defs = [PC, R31];
+let isTaken = Inst{12};
+}
def J2_callrh : HInst<
(outs),
(ins IntRegs:$Rs32),
@@ -4971,6 +5065,20 @@ let prefersSlot3 = 1;
let cofMax1 = 1;
let Defs = [PC, R31];
}
+def J2_callrh_rb : HInst<
+(outs),
+(ins IntRegs:$Rs32),
+"callrh_rb $Rs32",
+tc_362b0be2, TypeJ>, Enc_ecbcc8, Requires<[HasV83]> {
+let Inst{13-0} = 0b00000000000000;
+let Inst{31-21} = 0b01010000010;
+let isCall = 1;
+let prefersSlot3 = 1;
+let cofMax1 = 1;
+let Uses = [R29];
+let Defs = [PC, R31];
+let hasSideEffects = 1;
+}
def J2_callrt : HInst<
(outs),
(ins PredRegs:$Pu4, IntRegs:$Rs32),
@@ -4988,6 +5096,21 @@ let Defs = [PC, R31];
let hasSideEffects = 1;
let isTaken = Inst{12};
}
+def J2_callrt_rb : HInst<
+(outs),
+(ins PredRegs:$Pu4, IntRegs:$Rs32),
+"if ($Pu4) callr_rb $Rs32",
+tc_dc51281d, TypeJ>, Enc_88d4d9, Requires<[HasV83]> {
+let Inst{7-0} = 0b00000000;
+let Inst{13-10} = 0b0000;
+let Inst{31-21} = 0b01010001100;
+let isPredicated = 1;
+let isCall = 1;
+let prefersSlot3 = 1;
+let cofMax1 = 1;
+let Defs = [PC, R31];
+let isTaken = Inst{12};
+}
def J2_callt : HInst<
(outs),
(ins PredRegs:$Pu4, a30_2Imm:$Ii),
@@ -5198,6 +5321,19 @@ let InputType = "reg";
let isBarrier = 1;
let isPredicable = 1;
}
+def J2_jumpr_rb : HInst<
+(outs),
+(ins IntRegs:$Rs32),
+"jumpr_rb $Rs32",
+tc_60e324ff, TypeJ>, Enc_ecbcc8, Requires<[HasV83]> {
+let Inst{13-0} = 0b00000000000000;
+let Inst{31-21} = 0b01010010000;
+let isTerminator = 1;
+let isIndirectBranch = 1;
+let isBranch = 1;
+let cofMax1 = 1;
+let Defs = [PC];
+}
def J2_jumprf : HInst<
(outs),
(ins PredRegs:$Pu4, IntRegs:$Rs32),
@@ -5225,6 +5361,23 @@ tc_2f573607, TypeMAPPING>, Requires<[HasV60]> {
let isPseudo = 1;
let isCodeGenOnly = 1;
}
+def J2_jumprf_rb : HInst<
+(outs),
+(ins PredRegs:$Pu4, IntRegs:$Rs32),
+"if (!$Pu4) jumpr_rb:nt $Rs32",
+tc_2f573607, TypeJ>, Enc_88d4d9, Requires<[HasV83]> {
+let Inst{7-0} = 0b00000000;
+let Inst{13-10} = 0b0000;
+let Inst{31-21} = 0b01010011111;
+let isPredicated = 1;
+let isPredicatedFalse = 1;
+let isTerminator = 1;
+let isIndirectBranch = 1;
+let isBranch = 1;
+let cofMax1 = 1;
+let Defs = [PC];
+let isTaken = Inst{12};
+}
def J2_jumprfnew : HInst<
(outs),
(ins PredRegs:$Pu4, IntRegs:$Rs32),
@@ -5245,6 +5398,24 @@ let BaseOpcode = "J2_jumpr";
let InputType = "reg";
let isTaken = Inst{12};
}
+def J2_jumprfnew_rb : HInst<
+(outs),
+(ins PredRegs:$Pu4, IntRegs:$Rs32),
+"if (!$Pu4.new) jumpr_rb:nt $Rs32",
+tc_ed03645c, TypeJ>, Enc_88d4d9, Requires<[HasV83]> {
+let Inst{7-0} = 0b00000000;
+let Inst{13-10} = 0b0010;
+let Inst{31-21} = 0b01010011111;
+let isPredicated = 1;
+let isPredicatedFalse = 1;
+let isTerminator = 1;
+let isIndirectBranch = 1;
+let isBranch = 1;
+let isPredicatedNew = 1;
+let cofMax1 = 1;
+let Defs = [PC];
+let isTaken = Inst{12};
+}
def J2_jumprfnewpt : HInst<
(outs),
(ins PredRegs:$Pu4, IntRegs:$Rs32),
@@ -5265,6 +5436,24 @@ let BaseOpcode = "J2_jumpr";
let InputType = "reg";
let isTaken = Inst{12};
}
+def J2_jumprfnewpt_rb : HInst<
+(outs),
+(ins PredRegs:$Pu4, IntRegs:$Rs32),
+"if (!$Pu4.new) jumpr_rb:t $Rs32",
+tc_ed03645c, TypeJ>, Enc_88d4d9, Requires<[HasV83]> {
+let Inst{7-0} = 0b00000000;
+let Inst{13-10} = 0b0110;
+let Inst{31-21} = 0b01010011111;
+let isPredicated = 1;
+let isPredicatedFalse = 1;
+let isTerminator = 1;
+let isIndirectBranch = 1;
+let isBranch = 1;
+let isPredicatedNew = 1;
+let cofMax1 = 1;
+let Defs = [PC];
+let isTaken = Inst{12};
+}
def J2_jumprfpt : HInst<
(outs),
(ins PredRegs:$Pu4, IntRegs:$Rs32),
@@ -5284,6 +5473,23 @@ let BaseOpcode = "J2_jumpr";
let InputType = "reg";
let isTaken = Inst{12};
}
+def J2_jumprfpt_rb : HInst<
+(outs),
+(ins PredRegs:$Pu4, IntRegs:$Rs32),
+"if (!$Pu4) jumpr_rb:t $Rs32",
+tc_2f573607, TypeJ>, Enc_88d4d9, Requires<[HasV83]> {
+let Inst{7-0} = 0b00000000;
+let Inst{13-10} = 0b0100;
+let Inst{31-21} = 0b01010011111;
+let isPredicated = 1;
+let isPredicatedFalse = 1;
+let isTerminator = 1;
+let isIndirectBranch = 1;
+let isBranch = 1;
+let cofMax1 = 1;
+let Defs = [PC];
+let isTaken = Inst{12};
+}
def J2_jumprgtez : HInst<
(outs),
(ins IntRegs:$Rs32, b13_2Imm:$Ii),
@@ -5333,6 +5539,19 @@ let isBranch = 1;
let cofMax1 = 1;
let Defs = [PC];
}
+def J2_jumprh_rb : HInst<
+(outs),
+(ins IntRegs:$Rs32),
+"jumprh_rb $Rs32",
+tc_60e324ff, TypeJ>, Enc_ecbcc8, Requires<[HasV83]> {
+let Inst{13-0} = 0b00000000000000;
+let Inst{31-21} = 0b01010010010;
+let isTerminator = 1;
+let isIndirectBranch = 1;
+let isBranch = 1;
+let cofMax1 = 1;
+let Defs = [PC];
+}
def J2_jumprltez : HInst<
(outs),
(ins IntRegs:$Rs32, b13_2Imm:$Ii),
@@ -5431,6 +5650,22 @@ tc_2f573607, TypeMAPPING>, Requires<[HasV60]> {
let isPseudo = 1;
let isCodeGenOnly = 1;
}
+def J2_jumprt_rb : HInst<
+(outs),
+(ins PredRegs:$Pu4, IntRegs:$Rs32),
+"if ($Pu4) jumpr_rb:nt $Rs32",
+tc_2f573607, TypeJ>, Enc_88d4d9, Requires<[HasV83]> {
+let Inst{7-0} = 0b00000000;
+let Inst{13-10} = 0b0000;
+let Inst{31-21} = 0b01010011110;
+let isPredicated = 1;
+let isTerminator = 1;
+let isIndirectBranch = 1;
+let isBranch = 1;
+let cofMax1 = 1;
+let Defs = [PC];
+let isTaken = Inst{12};
+}
def J2_jumprtnew : HInst<
(outs),
(ins PredRegs:$Pu4, IntRegs:$Rs32),
@@ -5450,6 +5685,23 @@ let BaseOpcode = "J2_jumpr";
let InputType = "reg";
let isTaken = Inst{12};
}
+def J2_jumprtnew_rb : HInst<
+(outs),
+(ins PredRegs:$Pu4, IntRegs:$Rs32),
+"if ($Pu4.new) jumpr_rb:nt $Rs32",
+tc_ed03645c, TypeJ>, Enc_88d4d9, Requires<[HasV83]> {
+let Inst{7-0} = 0b00000000;
+let Inst{13-10} = 0b0010;
+let Inst{31-21} = 0b01010011110;
+let isPredicated = 1;
+let isTerminator = 1;
+let isIndirectBranch = 1;
+let isBranch = 1;
+let isPredicatedNew = 1;
+let cofMax1 = 1;
+let Defs = [PC];
+let isTaken = Inst{12};
+}
def J2_jumprtnewpt : HInst<
(outs),
(ins PredRegs:$Pu4, IntRegs:$Rs32),
@@ -5469,6 +5721,23 @@ let BaseOpcode = "J2_jumpr";
let InputType = "reg";
let isTaken = Inst{12};
}
+def J2_jumprtnewpt_rb : HInst<
+(outs),
+(ins PredRegs:$Pu4, IntRegs:$Rs32),
+"if ($Pu4.new) jumpr_rb:t $Rs32",
+tc_ed03645c, TypeJ>, Enc_88d4d9, Requires<[HasV83]> {
+let Inst{7-0} = 0b00000000;
+let Inst{13-10} = 0b0110;
+let Inst{31-21} = 0b01010011110;
+let isPredicated = 1;
+let isTerminator = 1;
+let isIndirectBranch = 1;
+let isBranch = 1;
+let isPredicatedNew = 1;
+let cofMax1 = 1;
+let Defs = [PC];
+let isTaken = Inst{12};
+}
def J2_jumprtpt : HInst<
(outs),
(ins PredRegs:$Pu4, IntRegs:$Rs32),
@@ -5487,6 +5756,22 @@ let BaseOpcode = "J2_jumpr";
let InputType = "reg";
let isTaken = Inst{12};
}
+def J2_jumprtpt_rb : HInst<
+(outs),
+(ins PredRegs:$Pu4, IntRegs:$Rs32),
+"if ($Pu4) jumpr_rb:t $Rs32",
+tc_2f573607, TypeJ>, Enc_88d4d9, Requires<[HasV83]> {
+let Inst{7-0} = 0b00000000;
+let Inst{13-10} = 0b0100;
+let Inst{31-21} = 0b01010011110;
+let isPredicated = 1;
+let isTerminator = 1;
+let isIndirectBranch = 1;
+let isBranch = 1;
+let cofMax1 = 1;
+let Defs = [PC];
+let isTaken = Inst{12};
+}
def J2_jumprz : HInst<
(outs),
(ins IntRegs:$Rs32, b13_2Imm:$Ii),
@@ -5873,6 +6158,17 @@ let hasSideEffects = 1;
let isPseudo = 1;
let isCodeGenOnly = 1;
}
+def J2_trap2 : HInst<
+(outs),
+(ins u8_0Imm:$Ii),
+"trap2(#$Ii)",
+tc_45f9d1be, TypeJ>, Enc_a51a9a, Requires<[HasV83]> {
+let Inst{1-0} = 0b00;
+let Inst{7-5} = 0b000;
+let Inst{13-13} = 0b0;
+let Inst{31-16} = 0b0101010011000000;
+let isSolo = 1;
+}
def J2_unpause : HInst<
(outs),
(ins),
@@ -18295,6 +18591,27 @@ let Uses = [FRAMEKEY, FRAMELIMIT, R30, R31];
let Defs = [R30];
let Constraints = "$Rx32 = $Rx32in";
}
+def S2_allocframe_rb : HInst<
+(outs IntRegs:$Rx32),
+(ins IntRegs:$Rx32in, u29_3Imm:$Ii),
+"allocframe_rb($Rx32,#$Ii):raw",
+tc_934753bb, TypeST>, Enc_22c845, Requires<[HasV83]> {
+let Inst{13-11} = 0b100;
+let Inst{31-21} = 0b10100000100;
+let hasNewValue = 1;
+let opNewValue = 0;
+let addrMode = BaseImmOffset;
+let accessSize = DoubleWordAccess;
+let mayStore = 1;
+let Uses = [FRAMEKEY, FRAMELIMIT, R30, R31];
+let Defs = [R30];
+let isExtendable = 1;
+let opExtendable = 2;
+let isExtentSigned = 0;
+let opExtentBits = 14;
+let opExtentAlign = 3;
+let Constraints = "$Rx32 = $Rx32in";
+}
def S2_asl_i_p : HInst<
(outs DoubleRegs:$Rdd32),
(ins DoubleRegs:$Rss32, u6_0Imm:$Ii),
@@ -25924,6 +26241,19 @@ def S5_vasrhrnd_goodsyntax : HInst<
tc_0dfac0a7, TypeS_2op> {
let isPseudo = 1;
}
+def S6_allocframe_rb_to_raw : HInst<
+(outs),
+(ins u29_3Imm:$Ii),
+"allocframe_rb(#$Ii)",
+tc_934753bb, TypeMAPPING>, Requires<[HasV83]> {
+let isPseudo = 1;
+let isCodeGenOnly = 1;
+let isExtendable = 1;
+let opExtendable = 0;
+let isExtentSigned = 0;
+let opExtentBits = 14;
+let opExtentAlign = 3;
+}
def S6_allocframe_to_raw : HInst<
(outs),
(ins u11_3Imm:$Ii),
@@ -26728,6 +27058,21 @@ let Uses = [FRAMEKEY, FRAMELIMIT, R29, R30, R31];
let Defs = [R29, R30];
let DecoderNamespace = "SUBINSN_S2";
}
+def SS2_allocframe_rb : HInst<
+(outs),
+(ins u5_3Imm:$Ii),
+"allocframe_rb(#$Ii)",
+tc_1242dc2a, TypeSUBINSN>, Enc_6f70ca, Requires<[HasV83]> {
+let Inst{3-0} = 0b0000;
+let Inst{12-9} = 0b1111;
+let addrMode = BaseImmOffset;
+let accessSize = DoubleWordAccess;
+let AsmVariantName = "NonParsable";
+let mayStore = 1;
+let Uses = [FRAMEKEY, FRAMELIMIT, R29, R30, R31];
+let Defs = [R29, R30];
+let DecoderNamespace = "SUBINSN_S2";
+}
def SS2_storebi0 : HInst<
(outs),
(ins GeneralSubRegs:$Rs16, u4_0Imm:$Ii),
@@ -26814,6 +27159,48 @@ let AsmVariantName = "NonParsable";
let mayStore = 1;
let DecoderNamespace = "SUBINSN_S2";
}
+def V2_vallocframe_imm : HInst<
+(outs),
+(ins u7_0Imm:$Ii),
+"vallocframe(#$Ii)",
+tc_7dc63b5c, TypeCR>, Enc_7abde3, Requires<[HasV83]> {
+let Inst{13-7} = 0b0010000;
+let Inst{31-16} = 0b0110000010000000;
+let Uses = [VFRAMELIMIT, VSP];
+let Defs = [VSP];
+}
+def V2_vallocframe_reg : HInst<
+(outs),
+(ins IntRegs:$Rs32),
+"vallocframe($Rs32)",
+tc_7dc63b5c, TypeCR>, Enc_ecbcc8, Requires<[HasV83]> {
+let Inst{13-0} = 0b01000000000000;
+let Inst{31-21} = 0b01100000100;
+let addrMode = BaseRegOffset;
+let Uses = [VFRAMELIMIT, VSP];
+let Defs = [VSP];
+}
+def V2_vdeallocframe_imm : HInst<
+(outs),
+(ins u7_0Imm:$Ii),
+"vdeallocframe(#$Ii)",
+tc_7dc63b5c, TypeCR>, Enc_7abde3, Requires<[HasV83]> {
+let Inst{13-7} = 0b0010000;
+let Inst{31-16} = 0b0110101010000000;
+let Uses = [VSP];
+let Defs = [VSP];
+}
+def V2_vdeallocframe_reg : HInst<
+(outs),
+(ins IntRegs:$Rs32),
+"vdeallocframe($Rs32)",
+tc_7dc63b5c, TypeCR>, Enc_ecbcc8, Requires<[HasV83]> {
+let Inst{13-0} = 0b01000000000000;
+let Inst{31-21} = 0b01101001010;
+let addrMode = BaseRegOffset;
+let Uses = [VSP];
+let Defs = [VSP];
+}
def V6_MAP_equb : HInst<
(outs HvxQR:$Qd4),
(ins HvxVR:$Vu32, HvxVR:$Vv32),
@@ -30286,6 +30673,19 @@ let isPseudo = 1;
let isCodeGenOnly = 1;
let DecoderNamespace = "EXT_mmvec";
}
+def V6_vabsdiffuw : HInst<
+(outs HvxVR:$Vd32),
+(ins HvxVR:$Vu32, HvxVR:$Vv32),
+"$Vd32.uw = vabsdiff($Vu32.uw,$Vv32.uw)",
+tc_c127de3a, TypeCVI_VX>, Enc_45364e, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b010;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011010101;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
def V6_vabsdiffw : HInst<
(outs HvxVR:$Vd32),
(ins HvxVR:$Vu32, HvxVR:$Vv32),
@@ -31181,6 +31581,21 @@ let isHVXALU = 1;
let isHVXALU2SRC = 1;
let DecoderNamespace = "EXT_mmvec";
}
+def V6_vadduhhsat : HInst<
+(outs HvxVR:$Vd32),
+(ins HvxVR:$Vu32, HvxVR:$Vv32),
+"$Vd32.uh = vadd($Vu32.h,$Vv32.h):sat",
+tc_56c4f9fe, TypeCVI_VA>, Enc_45364e, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b110;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011010100;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let isHVXALU = 1;
+let isHVXALU2SRC = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
def V6_vadduhsat : HInst<
(outs HvxVR:$Vd32),
(ins HvxVR:$Vu32, HvxVR:$Vv32),
@@ -31339,6 +31754,19 @@ let isPseudo = 1;
let isCodeGenOnly = 1;
let DecoderNamespace = "EXT_mmvec";
}
+def V6_vadduwwsat_dv : HInst<
+(outs HvxWR:$Vdd32),
+(ins HvxWR:$Vuu32, HvxWR:$Vvv32),
+"$Vdd32.uw = vadd($Vuu32.w,$Vvv32.w):sat",
+tc_db5555f3, TypeCVI_VA_DV>, Enc_f8ecf9, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b110;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011010000;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
def V6_vaddw : HInst<
(outs HvxVR:$Vd32),
(ins HvxVR:$Vu32, HvxVR:$Vv32),
@@ -35479,6 +35907,21 @@ let isPseudo = 1;
let isCodeGenOnly = 1;
let DecoderNamespace = "EXT_mmvec";
}
+def V6_vmaxuw : HInst<
+(outs HvxVR:$Vd32),
+(ins HvxVR:$Vu32, HvxVR:$Vv32),
+"$Vd32.uw = vmax($Vu32.uw,$Vv32.uw)",
+tc_56c4f9fe, TypeCVI_VA>, Enc_45364e, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b000;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011010101;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let isHVXALU = 1;
+let isHVXALU2SRC = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
def V6_vmaxw : HInst<
(outs HvxVR:$Vd32),
(ins HvxVR:$Vu32, HvxVR:$Vv32),
@@ -35670,6 +36113,21 @@ let isPseudo = 1;
let isCodeGenOnly = 1;
let DecoderNamespace = "EXT_mmvec";
}
+def V6_vminuw : HInst<
+(outs HvxVR:$Vd32),
+(ins HvxVR:$Vu32, HvxVR:$Vv32),
+"$Vd32.uw = vmin($Vu32.uw,$Vv32.uw)",
+tc_56c4f9fe, TypeCVI_VA>, Enc_45364e, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b001;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011010101;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let isHVXALU = 1;
+let isHVXALU2SRC = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
def V6_vminw : HInst<
(outs HvxVR:$Vd32),
(ins HvxVR:$Vu32, HvxVR:$Vv32),
@@ -35923,6 +36381,34 @@ let isCVI = 1;
let DecoderNamespace = "EXT_mmvec";
let Constraints = "$Vx32 = $Vx32in";
}
+def V6_vmpar_uwuhuw_si : HInst<
+(outs HvxWR:$Vxx32),
+(ins HvxWR:$Vxx32in, HvxVR:$Vu32, IntRegs:$Rt32),
+"$Vxx32.w = vmpa($Vxx32in.h,$Vu32.uh,$Rt32.w)",
+tc_0b04c6c7, TypeCVI_VX_DV>, Enc_5e8512, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b101;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011010101;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+let Constraints = "$Vxx32 = $Vxx32in";
+}
+def V6_vmpar_wuhw_si : HInst<
+(outs HvxWR:$Vxx32),
+(ins HvxWR:$Vxx32in, HvxVR:$Vu32, IntRegs:$Rt32),
+"$Vxx32.uw = vmpa($Vxx32in.uh,$Vu32.uh,$Rt32.w)",
+tc_0b04c6c7, TypeCVI_VX_DV>, Enc_5e8512, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b110;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011010101;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+let Constraints = "$Vxx32 = $Vxx32in";
+}
def V6_vmpauhb : HInst<
(outs HvxWR:$Vdd32),
(ins HvxWR:$Vuu32, IntRegs:$Rt32),
@@ -35977,6 +36463,20 @@ let isPseudo = 1;
let isCodeGenOnly = 1;
let DecoderNamespace = "EXT_mmvec";
}
+def V6_vmpauhuh : HInst<
+(outs HvxVR:$Vx32),
+(ins HvxVR:$Vx32in, HvxVR:$Vu32, DoubleRegs:$Rtt32),
+"$Vx32.h = vmpa($Vx32in.h,$Vu32.uh,$Rtt32.uh)",
+tc_0b04c6c7, TypeCVI_VX_DV>, Enc_310ba1, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b011;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011001111;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+let Constraints = "$Vx32 = $Vx32in";
+}
def V6_vmpauhuhsat : HInst<
(outs HvxVR:$Vx32),
(ins HvxVR:$Vx32in, HvxVR:$Vu32, DoubleRegs:$Rtt32),
@@ -35991,6 +36491,34 @@ let isCVI = 1;
let DecoderNamespace = "EXT_mmvec";
let Constraints = "$Vx32 = $Vx32in";
}
+def V6_vmpauhuhuh : HInst<
+(outs HvxVR:$Vx32),
+(ins HvxVR:$Vx32in, HvxVR:$Vu32, DoubleRegs:$Rtt32),
+"$Vx32.uh = vmpa($Vx32in.uh,$Vu32.uh,$Rtt32.uh)",
+tc_90bcc1db, TypeCVI_VX_DV>, Enc_310ba1, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b000;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011001111;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+let Constraints = "$Vx32 = $Vx32in";
+}
+def V6_vmpsuhuh : HInst<
+(outs HvxVR:$Vx32),
+(ins HvxVR:$Vx32in, HvxVR:$Vu32, DoubleRegs:$Rtt32),
+"$Vx32.h = vmps($Vx32in.h,$Vu32.uh,$Rtt32.uh)",
+tc_0b04c6c7, TypeCVI_VX_DV>, Enc_310ba1, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b100;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011001111;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+let Constraints = "$Vx32 = $Vx32in";
+}
def V6_vmpsuhuhsat : HInst<
(outs HvxVR:$Vx32),
(ins HvxVR:$Vx32in, HvxVR:$Vu32, DoubleRegs:$Rtt32),
@@ -36460,6 +36988,19 @@ let isPseudo = 1;
let isCodeGenOnly = 1;
let DecoderNamespace = "EXT_mmvec";
}
+def V6_vmpyewuh_rnd : HInst<
+(outs HvxVR:$Vd32),
+(ins HvxVR:$Vu32, HvxVR:$Vv32),
+"$Vd32.w = vmpye($Vu32.w,$Vv32.uh):rnd",
+tc_d8287c14, TypeCVI_VX_DV>, Enc_45364e, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b100;
+let Inst{13-13} = 0b0;
+let Inst{31-21} = 0b00011001100;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
def V6_vmpyh : HInst<
(outs HvxWR:$Vdd32),
(ins HvxVR:$Vu32, IntRegs:$Rt32),
@@ -36593,6 +37134,32 @@ let isPseudo = 1;
let isCodeGenOnly = 1;
let DecoderNamespace = "EXT_mmvec";
}
+def V6_vmpyhuh : HInst<
+(outs HvxVR:$Vd32),
+(ins HvxVR:$Vu32, HvxVR:$Vv32),
+"$Vd32.h = vmpy($Vu32.h,$Vv32.uh)",
+tc_c127de3a, TypeCVI_VX>, Enc_45364e, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b000;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011010100;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
+def V6_vmpyhuh_rnd : HInst<
+(outs HvxVR:$Vd32),
+(ins HvxVR:$Vu32, HvxVR:$Vv32),
+"$Vd32.h = vmpy($Vu32.h,$Vv32.uh):rnd",
+tc_c127de3a, TypeCVI_VX>, Enc_45364e, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b010;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011010100;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
def V6_vmpyhus : HInst<
(outs HvxWR:$Vdd32),
(ins HvxVR:$Vu32, HvxVR:$Vv32),
@@ -37238,6 +37805,142 @@ let isPseudo = 1;
let DecoderNamespace = "EXT_mmvec";
let Constraints = "$Vx32 = $Vx32in";
}
+def V6_vmpyowuh : HInst<
+(outs HvxVR:$Vd32),
+(ins HvxVR:$Vu32, HvxVR:$Vv32),
+"$Vd32.w = vmpyo($Vu32.w,$Vv32.uh)",
+tc_d8287c14, TypeCVI_VX_DV>, Enc_45364e, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b110;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011100010;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
+def V6_vmpyowuh_acc : HInst<
+(outs HvxVR:$Vx32),
+(ins HvxVR:$Vx32in, HvxVR:$Vu32, HvxVR:$Vv32),
+"$Vx32.w += vmpyo($Vu32.w,$Vv32.uh)",
+tc_08a4f1b6, TypeCVI_VX_DV>, Enc_a7341a, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b111;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011100010;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isAccumulator = 1;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+let Constraints = "$Vx32 = $Vx32in";
+}
+def V6_vmpyowuh_rnd : HInst<
+(outs HvxVR:$Vd32),
+(ins HvxVR:$Vu32, HvxVR:$Vv32),
+"$Vd32.w = vmpyo($Vu32.w,$Vv32.uh):rnd",
+tc_d8287c14, TypeCVI_VX_DV>, Enc_45364e, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b100;
+let Inst{13-13} = 0b0;
+let Inst{31-21} = 0b00011101000;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
+def V6_vmpyowuh_rnd_acc : HInst<
+(outs HvxVR:$Vx32),
+(ins HvxVR:$Vx32in, HvxVR:$Vu32, HvxVR:$Vv32),
+"$Vx32.w += vmpyo($Vu32.w,$Vv32.uh):rnd",
+tc_08a4f1b6, TypeCVI_VX_DV>, Enc_a7341a, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b101;
+let Inst{13-13} = 0b0;
+let Inst{31-21} = 0b00011101000;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isAccumulator = 1;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+let Constraints = "$Vx32 = $Vx32in";
+}
+def V6_vmpyrhuh : HInst<
+(outs HvxVR:$Vd32),
+(ins HvxVR:$Vu32, IntRegs:$Rt32),
+"$Vd32.h = vmpy($Vu32.h,$Rt32.uh)",
+tc_c127de3a, TypeCVI_VX>, Enc_b087ac, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b001;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011010100;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
+def V6_vmpyrhuh_rnd : HInst<
+(outs HvxVR:$Vd32),
+(ins HvxVR:$Vu32, IntRegs:$Rt32),
+"$Vd32.h = vmpy($Vu32.h,$Rt32.uh):rnd",
+tc_c127de3a, TypeCVI_VX>, Enc_b087ac, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b011;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011010100;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
+def V6_vmpyrhus : HInst<
+(outs HvxWR:$Vdd32),
+(ins HvxVR:$Vu32, IntRegs:$Rt32),
+"$Vdd32.w = vmpy($Vu32.h,$Rt32.uh)",
+tc_0b04c6c7, TypeCVI_VX_DV>, Enc_01d3d0, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b100;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011010100;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
+def V6_vmpyrhus_acc : HInst<
+(outs HvxWR:$Vxx32),
+(ins HvxWR:$Vxx32in, HvxVR:$Vu32, IntRegs:$Rt32),
+"$Vxx32.w += vmpy($Vu32.h,$Rt32.uh)",
+tc_08a4f1b6, TypeCVI_VX_DV>, Enc_5e8512, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b101;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011010100;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isAccumulator = 1;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+let Constraints = "$Vxx32 = $Vxx32in";
+}
+def V6_vmpyruhuh : HInst<
+(outs HvxVR:$Vd32),
+(ins HvxVR:$Vu32, IntRegs:$Rt32),
+"$Vd32.uh = vmpy($Vu32.uh,$Rt32.uh)",
+tc_c127de3a, TypeCVI_VX>, Enc_b087ac, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b101;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011001111;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
+def V6_vmpyruhuh_rnd : HInst<
+(outs HvxVR:$Vd32),
+(ins HvxVR:$Vu32, IntRegs:$Rt32),
+"$Vd32.uh = vmpy($Vu32.uh,$Rt32.uh):rnd",
+tc_c127de3a, TypeCVI_VX>, Enc_b087ac, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b111;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011001111;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
def V6_vmpyub : HInst<
(outs HvxWR:$Vdd32),
(ins HvxVR:$Vu32, IntRegs:$Rt32),
@@ -37428,6 +38131,19 @@ let isCVI = 1;
let DecoderNamespace = "EXT_mmvec";
let Constraints = "$Vx32 = $Vx32in";
}
+def V6_vmpyuhuh_rnd : HInst<
+(outs HvxVR:$Vd32),
+(ins HvxVR:$Vu32, HvxVR:$Vv32),
+"$Vd32.uh = vmpy($Vu32.uh,$Vv32.uh):rnd",
+tc_c127de3a, TypeCVI_VX>, Enc_45364e, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b110;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011001111;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
def V6_vmpy_hf_f8 : HInst<
(outs HvxWR:$Vdd32),
(ins HvxVR:$Vu32, HvxVR:$Vv32),
@@ -37604,6 +38320,36 @@ let isPseudo = 1;
let isCodeGenOnly = 1;
let DecoderNamespace = "EXT_mmvec";
}
+def V6_vnavguh : HInst<
+(outs HvxVR:$Vd32),
+(ins HvxVR:$Vu32, HvxVR:$Vv32),
+"$Vd32.h = vnavg($Vu32.uh,$Vv32.uh)",
+tc_56c4f9fe, TypeCVI_VA>, Enc_45364e, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b011;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011010101;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let isHVXALU = 1;
+let isHVXALU2SRC = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
+def V6_vnavguw : HInst<
+(outs HvxVR:$Vd32),
+(ins HvxVR:$Vu32, HvxVR:$Vv32),
+"$Vd32.w = vnavg($Vu32.uw,$Vv32.uw)",
+tc_56c4f9fe, TypeCVI_VA>, Enc_45364e, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b100;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011010101;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let isHVXALU = 1;
+let isHVXALU2SRC = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
def V6_vnavgw : HInst<
(outs HvxVR:$Vd32),
(ins HvxVR:$Vu32, HvxVR:$Vv32),
@@ -40328,6 +41074,21 @@ let isHVXALU = 1;
let isHVXALU2SRC = 1;
let DecoderNamespace = "EXT_mmvec";
}
+def V6_vsubuhhsat : HInst<
+(outs HvxVR:$Vd32),
+(ins HvxVR:$Vu32, HvxVR:$Vv32),
+"$Vd32.uh = vsub($Vu32.h,$Vv32.h):sat",
+tc_56c4f9fe, TypeCVI_VA>, Enc_45364e, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b101;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011010000;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let isHVXALU = 1;
+let isHVXALU2SRC = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
def V6_vsubuhsat : HInst<
(outs HvxVR:$Vd32),
(ins HvxVR:$Vu32, HvxVR:$Vv32),
@@ -40457,6 +41218,19 @@ let isPseudo = 1;
let isCodeGenOnly = 1;
let DecoderNamespace = "EXT_mmvec";
}
+def V6_vsubuwwsat_dv : HInst<
+(outs HvxWR:$Vdd32),
+(ins HvxWR:$Vuu32, HvxWR:$Vvv32),
+"$Vdd32.uw = vsub($Vuu32.w,$Vvv32.w):sat",
+tc_db5555f3, TypeCVI_VA_DV>, Enc_f8ecf9, Requires<[UseHVXV83]> {
+let Inst{7-5} = 0b111;
+let Inst{13-13} = 0b1;
+let Inst{31-21} = 0b00011010000;
+let hasNewValue = 1;
+let opNewValue = 0;
+let isCVI = 1;
+let DecoderNamespace = "EXT_mmvec";
+}
def V6_vsubw : HInst<
(outs HvxVR:$Vd32),
(ins HvxVR:$Vu32, HvxVR:$Vv32),
diff --git a/llvm/lib/Target/Hexagon/HexagonDepMapAsm2Intrin.td b/llvm/lib/Target/Hexagon/HexagonDepMapAsm2Intrin.td
index c11483b961cc36..cd6428e52bee58 100644
--- a/llvm/lib/Target/Hexagon/HexagonDepMapAsm2Intrin.td
+++ b/llvm/lib/Target/Hexagon/HexagonDepMapAsm2Intrin.td
@@ -1800,6 +1800,29 @@ def: Pat<(int_hexagon_Y6_dmstart IntRegs:$src1),
def: Pat<(int_hexagon_Y6_dmwait ),
(Y6_dmwait )>, Requires<[HasV68]>;
+// V83 Scalar Instructions.
+
+def: Pat<(int_hexagon_A2_nop_rb ),
+ (A2_nop_rb )>, Requires<[HasV83]>;
+def: Pat<(int_hexagon_F7_vsfadd DoubleRegs:$src1, DoubleRegs:$src2),
+ (F7_vsfadd DoubleRegs:$src1, DoubleRegs:$src2)>, Requires<[HasV83, UseAudio]>;
+def: Pat<(int_hexagon_F7_vsffma DoubleRegs:$src1, DoubleRegs:$src2, DoubleRegs:$src3),
+ (F7_vsffma DoubleRegs:$src1, DoubleRegs:$src2, DoubleRegs:$src3)>, Requires<[HasV83, UseAudio]>;
+def: Pat<(int_hexagon_F7_vsffms DoubleRegs:$src1, DoubleRegs:$src2, DoubleRegs:$src3),
+ (F7_vsffms DoubleRegs:$src1, DoubleRegs:$src2, DoubleRegs:$src3)>, Requires<[HasV83, UseAudio]>;
+def: Pat<(int_hexagon_F7_vsfmpy DoubleRegs:$src1, DoubleRegs:$src2),
+ (F7_vsfmpy DoubleRegs:$src1, DoubleRegs:$src2)>, Requires<[HasV83, UseAudio]>;
+def: Pat<(int_hexagon_F7_vsfsub DoubleRegs:$src1, DoubleRegs:$src2),
+ (F7_vsfsub DoubleRegs:$src1, DoubleRegs:$src2)>, Requires<[HasV83, UseAudio]>;
+def: Pat<(int_hexagon_V2_vallocframe_imm u7_0ImmPred_timm:$src1),
+ (V2_vallocframe_imm u7_0ImmPred_timm:$src1)>, Requires<[HasV83]>;
+def: Pat<(int_hexagon_V2_vallocframe_reg IntRegs:$src1),
+ (V2_vallocframe_reg IntRegs:$src1)>, Requires<[HasV83]>;
+def: Pat<(int_hexagon_V2_vdeallocframe_imm u7_0ImmPred_timm:$src1),
+ (V2_vdeallocframe_imm u7_0ImmPred_timm:$src1)>, Requires<[HasV83]>;
+def: Pat<(int_hexagon_V2_vdeallocframe_reg IntRegs:$src1),
+ (V2_vdeallocframe_reg IntRegs:$src1)>, Requires<[HasV83]>;
+
// V60 HVX Instructions.
def: Pat<(int_hexagon_V6_extractw HvxVR:$src1, IntRegs:$src2),
@@ -3954,3 +3977,118 @@ def: Pat<(int_hexagon_V6_vsub_sf_mix HvxVR:$src1, HvxVR:$src2),
(V6_vsub_sf_mix HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV81, UseHVX64B, UseHVXQFloat]>;
def: Pat<(int_hexagon_V6_vsub_sf_mix_128B HvxVR:$src1, HvxVR:$src2),
(V6_vsub_sf_mix HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV81, UseHVX128B, UseHVXQFloat]>;
+
+// V83 HVX Instructions.
+
+def: Pat<(int_hexagon_V6_vabsdiffuw HvxVR:$src1, HvxVR:$src2),
+ (V6_vabsdiffuw HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vabsdiffuw_128B HvxVR:$src1, HvxVR:$src2),
+ (V6_vabsdiffuw HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vadduhhsat HvxVR:$src1, HvxVR:$src2),
+ (V6_vadduhhsat HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vadduhhsat_128B HvxVR:$src1, HvxVR:$src2),
+ (V6_vadduhhsat HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vadduwwsat_dv HvxWR:$src1, HvxWR:$src2),
+ (V6_vadduwwsat_dv HvxWR:$src1, HvxWR:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vadduwwsat_dv_128B HvxWR:$src1, HvxWR:$src2),
+ (V6_vadduwwsat_dv HvxWR:$src1, HvxWR:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmaxuw HvxVR:$src1, HvxVR:$src2),
+ (V6_vmaxuw HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmaxuw_128B HvxVR:$src1, HvxVR:$src2),
+ (V6_vmaxuw HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vminuw HvxVR:$src1, HvxVR:$src2),
+ (V6_vminuw HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vminuw_128B HvxVR:$src1, HvxVR:$src2),
+ (V6_vminuw HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpar_uwuhuw_si HvxWR:$src1, HvxVR:$src2, IntRegs:$src3),
+ (V6_vmpar_uwuhuw_si HvxWR:$src1, HvxVR:$src2, IntRegs:$src3)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpar_uwuhuw_si_128B HvxWR:$src1, HvxVR:$src2, IntRegs:$src3),
+ (V6_vmpar_uwuhuw_si HvxWR:$src1, HvxVR:$src2, IntRegs:$src3)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpar_wuhw_si HvxWR:$src1, HvxVR:$src2, IntRegs:$src3),
+ (V6_vmpar_wuhw_si HvxWR:$src1, HvxVR:$src2, IntRegs:$src3)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpar_wuhw_si_128B HvxWR:$src1, HvxVR:$src2, IntRegs:$src3),
+ (V6_vmpar_wuhw_si HvxWR:$src1, HvxVR:$src2, IntRegs:$src3)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpauhuh HvxVR:$src1, HvxVR:$src2, DoubleRegs:$src3),
+ (V6_vmpauhuh HvxVR:$src1, HvxVR:$src2, DoubleRegs:$src3)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpauhuh_128B HvxVR:$src1, HvxVR:$src2, DoubleRegs:$src3),
+ (V6_vmpauhuh HvxVR:$src1, HvxVR:$src2, DoubleRegs:$src3)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpauhuhuh HvxVR:$src1, HvxVR:$src2, DoubleRegs:$src3),
+ (V6_vmpauhuhuh HvxVR:$src1, HvxVR:$src2, DoubleRegs:$src3)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpauhuhuh_128B HvxVR:$src1, HvxVR:$src2, DoubleRegs:$src3),
+ (V6_vmpauhuhuh HvxVR:$src1, HvxVR:$src2, DoubleRegs:$src3)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpsuhuh HvxVR:$src1, HvxVR:$src2, DoubleRegs:$src3),
+ (V6_vmpsuhuh HvxVR:$src1, HvxVR:$src2, DoubleRegs:$src3)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpsuhuh_128B HvxVR:$src1, HvxVR:$src2, DoubleRegs:$src3),
+ (V6_vmpsuhuh HvxVR:$src1, HvxVR:$src2, DoubleRegs:$src3)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpyewuh_rnd HvxVR:$src1, HvxVR:$src2),
+ (V6_vmpyewuh_rnd HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpyewuh_rnd_128B HvxVR:$src1, HvxVR:$src2),
+ (V6_vmpyewuh_rnd HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpyhuh HvxVR:$src1, HvxVR:$src2),
+ (V6_vmpyhuh HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpyhuh_128B HvxVR:$src1, HvxVR:$src2),
+ (V6_vmpyhuh HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpyhuh_rnd HvxVR:$src1, HvxVR:$src2),
+ (V6_vmpyhuh_rnd HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpyhuh_rnd_128B HvxVR:$src1, HvxVR:$src2),
+ (V6_vmpyhuh_rnd HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpyowuh HvxVR:$src1, HvxVR:$src2),
+ (V6_vmpyowuh HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpyowuh_128B HvxVR:$src1, HvxVR:$src2),
+ (V6_vmpyowuh HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpyowuh_acc HvxVR:$src1, HvxVR:$src2, HvxVR:$src3),
+ (V6_vmpyowuh_acc HvxVR:$src1, HvxVR:$src2, HvxVR:$src3)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpyowuh_acc_128B HvxVR:$src1, HvxVR:$src2, HvxVR:$src3),
+ (V6_vmpyowuh_acc HvxVR:$src1, HvxVR:$src2, HvxVR:$src3)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpyowuh_rnd HvxVR:$src1, HvxVR:$src2),
+ (V6_vmpyowuh_rnd HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpyowuh_rnd_128B HvxVR:$src1, HvxVR:$src2),
+ (V6_vmpyowuh_rnd HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpyowuh_rnd_acc HvxVR:$src1, HvxVR:$src2, HvxVR:$src3),
+ (V6_vmpyowuh_rnd_acc HvxVR:$src1, HvxVR:$src2, HvxVR:$src3)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpyowuh_rnd_acc_128B HvxVR:$src1, HvxVR:$src2, HvxVR:$src3),
+ (V6_vmpyowuh_rnd_acc HvxVR:$src1, HvxVR:$src2, HvxVR:$src3)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpyrhuh HvxVR:$src1, IntRegs:$src2),
+ (V6_vmpyrhuh HvxVR:$src1, IntRegs:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpyrhuh_128B HvxVR:$src1, IntRegs:$src2),
+ (V6_vmpyrhuh HvxVR:$src1, IntRegs:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpyrhuh_rnd HvxVR:$src1, IntRegs:$src2),
+ (V6_vmpyrhuh_rnd HvxVR:$src1, IntRegs:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpyrhuh_rnd_128B HvxVR:$src1, IntRegs:$src2),
+ (V6_vmpyrhuh_rnd HvxVR:$src1, IntRegs:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpyrhus HvxVR:$src1, IntRegs:$src2),
+ (V6_vmpyrhus HvxVR:$src1, IntRegs:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpyrhus_128B HvxVR:$src1, IntRegs:$src2),
+ (V6_vmpyrhus HvxVR:$src1, IntRegs:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpyrhus_acc HvxWR:$src1, HvxVR:$src2, IntRegs:$src3),
+ (V6_vmpyrhus_acc HvxWR:$src1, HvxVR:$src2, IntRegs:$src3)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpyrhus_acc_128B HvxWR:$src1, HvxVR:$src2, IntRegs:$src3),
+ (V6_vmpyrhus_acc HvxWR:$src1, HvxVR:$src2, IntRegs:$src3)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpyruhuh HvxVR:$src1, IntRegs:$src2),
+ (V6_vmpyruhuh HvxVR:$src1, IntRegs:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpyruhuh_128B HvxVR:$src1, IntRegs:$src2),
+ (V6_vmpyruhuh HvxVR:$src1, IntRegs:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpyruhuh_rnd HvxVR:$src1, IntRegs:$src2),
+ (V6_vmpyruhuh_rnd HvxVR:$src1, IntRegs:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpyruhuh_rnd_128B HvxVR:$src1, IntRegs:$src2),
+ (V6_vmpyruhuh_rnd HvxVR:$src1, IntRegs:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vmpyuhuh_rnd HvxVR:$src1, HvxVR:$src2),
+ (V6_vmpyuhuh_rnd HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vmpyuhuh_rnd_128B HvxVR:$src1, HvxVR:$src2),
+ (V6_vmpyuhuh_rnd HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vnavguh HvxVR:$src1, HvxVR:$src2),
+ (V6_vnavguh HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vnavguh_128B HvxVR:$src1, HvxVR:$src2),
+ (V6_vnavguh HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vnavguw HvxVR:$src1, HvxVR:$src2),
+ (V6_vnavguw HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vnavguw_128B HvxVR:$src1, HvxVR:$src2),
+ (V6_vnavguw HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vsubuhhsat HvxVR:$src1, HvxVR:$src2),
+ (V6_vsubuhhsat HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vsubuhhsat_128B HvxVR:$src1, HvxVR:$src2),
+ (V6_vsubuhhsat HvxVR:$src1, HvxVR:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
+def: Pat<(int_hexagon_V6_vsubuwwsat_dv HvxWR:$src1, HvxWR:$src2),
+ (V6_vsubuwwsat_dv HvxWR:$src1, HvxWR:$src2)>, Requires<[UseHVXV83, UseHVX64B]>;
+def: Pat<(int_hexagon_V6_vsubuwwsat_dv_128B HvxWR:$src1, HvxWR:$src2),
+ (V6_vsubuwwsat_dv HvxWR:$src1, HvxWR:$src2)>, Requires<[UseHVXV83, UseHVX128B]>;
diff --git a/llvm/lib/Target/Hexagon/HexagonDepMappings.td b/llvm/lib/Target/Hexagon/HexagonDepMappings.td
index 7437d39eeefda6..44c80f27dfc818 100644
--- a/llvm/lib/Target/Hexagon/HexagonDepMappings.td
+++ b/llvm/lib/Target/Hexagon/HexagonDepMappings.td
@@ -152,6 +152,7 @@ def S4_storeirif_zomapAlias : InstAlias<"if (!$Pv4) memw($Rs32) = #$II", (S4_sto
def S4_storeirifnew_zomapAlias : InstAlias<"if (!$Pv4.new) memw($Rs32) = #$II", (S4_storeirifnew_io PredRegs:$Pv4, IntRegs:$Rs32, 0, s32_0Imm:$II)>;
def S4_storeirit_zomapAlias : InstAlias<"if ($Pv4) memw($Rs32) = #$II", (S4_storeirit_io PredRegs:$Pv4, IntRegs:$Rs32, 0, s32_0Imm:$II)>;
def S4_storeiritnew_zomapAlias : InstAlias<"if ($Pv4.new) memw($Rs32) = #$II", (S4_storeiritnew_io PredRegs:$Pv4, IntRegs:$Rs32, 0, s32_0Imm:$II)>;
+def S6_allocframe_rb_to_rawAlias : InstAlias<"allocframe_rb(#$Ii)", (S2_allocframe_rb R29, u29_3Imm:$Ii)>, Requires<[HasV83]>;
def S6_allocframe_to_rawAlias : InstAlias<"allocframe(#$Ii)", (S2_allocframe R29, u11_3Imm:$Ii)>;
def V6_MAP_equbAlias : InstAlias<"$Qd4 = vcmp.eq($Vu32.ub,$Vv32.ub)", (V6_veqb HvxQR:$Qd4, HvxVR:$Vu32, HvxVR:$Vv32)>, Requires<[UseHVX]>;
def V6_MAP_equb_andAlias : InstAlias<"$Qx4 &= vcmp.eq($Vu32.ub,$Vv32.ub)", (V6_veqb_and HvxQR:$Qx4, HvxVR:$Vu32, HvxVR:$Vv32)>, Requires<[UseHVX]>;
diff --git a/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp b/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
index 9dffe400883e63..f796fa917c2d19 100644
--- a/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
@@ -221,6 +221,8 @@ HexagonRegisterInfo::getBaseReservedRegs(const MachineFunction &MF) const {
Reserved.set(Hexagon::FRAMEKEY); // C17
Reserved.set(Hexagon::PKTCOUNTLO); // C18
Reserved.set(Hexagon::PKTCOUNTHI); // C19
+ Reserved.set(Hexagon::VFRAMELIMIT); // C28
+ Reserved.set(Hexagon::VSP); // C29
Reserved.set(Hexagon::UTIMERLO); // C30
Reserved.set(Hexagon::UTIMERHI); // C31
// Out of the control registers, only C8 is explicitly defined in
diff --git a/llvm/lib/Target/Hexagon/HexagonRegisterInfo.td b/llvm/lib/Target/Hexagon/HexagonRegisterInfo.td
index 6875ca571f2697..9b2fbaa6027b8b 100644
--- a/llvm/lib/Target/Hexagon/HexagonRegisterInfo.td
+++ b/llvm/lib/Target/Hexagon/HexagonRegisterInfo.td
@@ -182,6 +182,9 @@ let Namespace = "Hexagon" in {
def FRAMEKEY : Rc<17, "framekey", ["c17"]>, DwarfRegNum<[84]>;
def PKTCOUNTLO : Rc<18, "pktcountlo", ["c18"]>, DwarfRegNum<[85]>;
def PKTCOUNTHI : Rc<19, "pktcounthi", ["c19"]>, DwarfRegNum<[86]>;
+ // VFRAMELIMIT and VSP are only defined for v83+.
+ def VFRAMELIMIT : Rc<28, "vframelimit", ["c28"]>, DwarfRegNum<[95]>;
+ def VSP : Rc<29, "vsp", ["c29"]>, DwarfRegNum<[96]>;
def UTIMERLO : Rc<30, "utimerlo", ["c30"]>, DwarfRegNum<[97]>;
def UTIMERHI : Rc<31, "utimerhi", ["c31"]>, DwarfRegNum<[98]>;
@@ -200,6 +203,7 @@ let Namespace = "Hexagon" in {
def C17_16 : Rcc<16, "c17:16", [FRAMELIMIT, FRAMEKEY]>, DwarfRegNum<[83]>;
def PKTCOUNT : Rcc<18, "c19:18", [PKTCOUNTLO, PKTCOUNTHI], ["pktcount"]>,
DwarfRegNum<[85]>;
+ def C29_28 : Rcc<28, "c29:28", [VFRAMELIMIT, VSP]>, DwarfRegNum<[95]>;
def UTIMER : Rcc<30, "c31:30", [UTIMERLO, UTIMERHI], ["utimer"]>,
DwarfRegNum<[97]>;
}
@@ -587,8 +591,8 @@ let Size = 32, isAllocatable = 0 in def CtrRegs
: RegisterClass<"Hexagon", [i32], 32,
(add LC0, SA0, LC1, SA1, P3_0, C5, C8, PC, UGP, GP, CS0,
CS1, UPCYCLELO, UPCYCLEHI, FRAMELIMIT, FRAMEKEY,
- PKTCOUNTLO, PKTCOUNTHI, UTIMERLO, UTIMERHI, M0, M1,
- USR)>;
+ PKTCOUNTLO, PKTCOUNTHI, UTIMERLO, UTIMERHI,
+ VFRAMELIMIT, VSP, M0, M1, USR)>;
let Size = 64 in def VectRegRev
: RegisterClass<"Hexagon", [i64], 64, (add (sequence "WR%u", 0, 15))>;
@@ -599,7 +603,7 @@ let isAllocatable =
let Size = 64, isAllocatable = 0 in def CtrRegs64
: RegisterClass<"Hexagon", [i64], 64,
(add C1_0, C3_2, C5_4, C7_6, C9_8, C11_10, CS, UPCYCLE,
- C17_16, PKTCOUNT, UTIMER)>;
+ C17_16, PKTCOUNT, C29_28, UTIMER)>;
let Size = 32, isAllocatable = 0 in def GuestRegs
: RegisterClass<"Hexagon", [i32], 32,
diff --git a/llvm/lib/Target/Hexagon/HexagonSchedule.td b/llvm/lib/Target/Hexagon/HexagonSchedule.td
index 9bcd4bf7d6841b..0dff98c5b16a05 100644
--- a/llvm/lib/Target/Hexagon/HexagonSchedule.td
+++ b/llvm/lib/Target/Hexagon/HexagonSchedule.td
@@ -75,4 +75,5 @@ include "HexagonScheduleV71T.td"
include "HexagonScheduleV73.td"
include "HexagonScheduleV75.td"
include "HexagonScheduleV79.td"
-include "HexagonScheduleV81.td"
\ No newline at end of file
+include "HexagonScheduleV81.td"
+include "HexagonScheduleV83.td"
\ No newline at end of file
diff --git a/llvm/lib/Target/Hexagon/HexagonScheduleV83.td b/llvm/lib/Target/Hexagon/HexagonScheduleV83.td
new file mode 100644
index 00000000000000..b4e5b4096a8900
--- /dev/null
+++ b/llvm/lib/Target/Hexagon/HexagonScheduleV83.td
@@ -0,0 +1,31 @@
+//=-HexagonScheduleV83.td - HexagonV83 Scheduling Definitions *- tablegen -*-=//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+def HexagonV83ItinList : DepScalarItinV83, ScalarItin,
+ DepHVXItinV83, HVXItin, PseudoItin {
+ list<InstrItinData> ItinList =
+ !listconcat(DepScalarItinV83_list, ScalarItin_list,
+ DepHVXItinV83_list, HVXItin_list, PseudoItin_list);
+}
+
+def HexagonItinerariesV83 :
+ ProcessorItineraries<[SLOT0, SLOT1, SLOT2, SLOT3, SLOT_ENDLOOP,
+ CVI_ST, CVI_XLANE, CVI_SHIFT, CVI_MPY0, CVI_MPY1,
+ CVI_LD, CVI_XLSHF, CVI_MPY01, CVI_ALL,
+ CVI_ALL_NOMEM, CVI_ZW],
+ [Hex_FWD, HVX_FWD],
+ HexagonV83ItinList.ItinList>;
+
+def HexagonModelV83 : SchedMachineModel {
+ // Max issue per cycle == bundle width.
+ let IssueWidth = 4;
+ let Itineraries = HexagonItinerariesV83;
+ let LoadLatency = 1;
+ let CompleteModel = 0;
+}
diff --git a/llvm/lib/Target/Hexagon/HexagonSubtarget.h b/llvm/lib/Target/Hexagon/HexagonSubtarget.h
index e1790d3bad57ae..b6caa067f31d8d 100644
--- a/llvm/lib/Target/Hexagon/HexagonSubtarget.h
+++ b/llvm/lib/Target/Hexagon/HexagonSubtarget.h
@@ -244,6 +244,15 @@ class HexagonSubtarget : public HexagonGenSubtargetInfo {
bool useHVXV81Ops() const {
return HexagonHVXVersion >= Hexagon::ArchEnum::V81;
}
+ bool hasV83Ops() const {
+ return getHexagonArchVersion() >= Hexagon::ArchEnum::V83;
+ }
+ bool hasV83OpsOnly() const {
+ return getHexagonArchVersion() == Hexagon::ArchEnum::V83;
+ }
+ bool useHVXV83Ops() const {
+ return HexagonHVXVersion >= Hexagon::ArchEnum::V83;
+ }
bool useAudioOps() const { return UseAudioOps; }
bool useCompound() const { return UseCompound; }
diff --git a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp
index 2f59b7c0fdb15d..535356b133daba 100644
--- a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp
+++ b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp
@@ -189,6 +189,9 @@ static unsigned featureToArchVersion(unsigned Feature) {
case Hexagon::ArchV81:
case Hexagon::ExtensionHVXV81:
return 81;
+ case Hexagon::ArchV83:
+ case Hexagon::ExtensionHVXV83:
+ return 83;
}
llvm_unreachable("Expected valid arch feature");
return 0;
diff --git a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
index 86918d5dff223b..357221c7a25b24 100644
--- a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
+++ b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
@@ -98,6 +98,8 @@ cl::opt<bool> MV79("mv79", cl::Hidden, cl::desc("Build for Hexagon V79"),
cl::init(false));
cl::opt<bool> MV81("mv81", cl::Hidden, cl::desc("Build for Hexagon V81"),
cl::init(false));
+cl::opt<bool> MV83("mv83", cl::Hidden, cl::desc("Build for Hexagon V83"),
+ cl::init(false));
} // namespace
static cl::opt<Hexagon::ArchEnum> EnableHVX(
@@ -114,6 +116,7 @@ static cl::opt<Hexagon::ArchEnum> EnableHVX(
clEnumValN(Hexagon::ArchEnum::V75, "v75", "Build for HVX v75"),
clEnumValN(Hexagon::ArchEnum::V79, "v79", "Build for HVX v79"),
clEnumValN(Hexagon::ArchEnum::V81, "v81", "Build for HVX v81"),
+ clEnumValN(Hexagon::ArchEnum::V83, "v83", "Build for HVX v83"),
// Sentinel for no value specified.
clEnumValN(Hexagon::ArchEnum::Generic, "", "")),
// Sentinel for flag not present.
@@ -164,6 +167,8 @@ static StringRef HexagonGetArchVariant() {
return "hexagonv79";
if (MV81)
return "hexagonv81";
+ if (MV83)
+ return "hexagonv83";
return "";
}
@@ -482,6 +487,9 @@ std::string selectHexagonFS(StringRef CPU, StringRef FS) {
case Hexagon::ArchEnum::V81:
Result.push_back("+hvxv81");
break;
+ case Hexagon::ArchEnum::V83:
+ Result.push_back("+hvxv83");
+ break;
case Hexagon::ArchEnum::Generic: {
Result.push_back(StringSwitch<StringRef>(CPU)
@@ -498,7 +506,8 @@ std::string selectHexagonFS(StringRef CPU, StringRef FS) {
.Case("hexagonv73", "+hvxv73")
.Case("hexagonv75", "+hvxv75")
.Case("hexagonv79", "+hvxv79")
- .Case("hexagonv81", "+hvxv81"));
+ .Case("hexagonv81", "+hvxv81")
+ .Case("hexagonv83", "+hvxv83"));
break;
}
case Hexagon::ArchEnum::NoArch:
@@ -546,8 +555,8 @@ FeatureBitset Hexagon_MC::completeHVXFeatures(const FeatureBitset &S) {
FeatureBitset FB = S;
unsigned CpuArch = ArchV5;
for (unsigned F :
- {ArchV81, ArchV79, ArchV75, ArchV73, ArchV71, ArchV69, ArchV68, ArchV67,
- ArchV66, ArchV65, ArchV62, ArchV60, ArchV55, ArchV5}) {
+ {ArchV83, ArchV81, ArchV79, ArchV75, ArchV73, ArchV71, ArchV69, ArchV68,
+ ArchV67, ArchV66, ArchV65, ArchV62, ArchV60, ArchV55, ArchV5}) {
if (!FB.test(F))
continue;
CpuArch = F;
@@ -564,7 +573,8 @@ FeatureBitset Hexagon_MC::completeHVXFeatures(const FeatureBitset &S) {
for (unsigned F :
{ExtensionHVXV60, ExtensionHVXV62, ExtensionHVXV65, ExtensionHVXV66,
ExtensionHVXV67, ExtensionHVXV68, ExtensionHVXV69, ExtensionHVXV71,
- ExtensionHVXV73, ExtensionHVXV75, ExtensionHVXV79, ExtensionHVXV81}) {
+ ExtensionHVXV73, ExtensionHVXV75, ExtensionHVXV79, ExtensionHVXV81,
+ ExtensionHVXV83}) {
if (!FB.test(F))
continue;
HasHvxVer = true;
@@ -577,6 +587,9 @@ FeatureBitset Hexagon_MC::completeHVXFeatures(const FeatureBitset &S) {
// HasHvxVer is false, and UseHvx is true.
switch (CpuArch) {
+ case ArchV83:
+ FB.set(ExtensionHVXV83);
+ [[fallthrough]];
case ArchV81:
FB.set(ExtensionHVXV81);
[[fallthrough]];
@@ -679,12 +692,13 @@ void Hexagon_MC::addArchSubtarget(MCSubtargetInfo const *STI, StringRef FS) {
std::optional<unsigned>
Hexagon_MC::getHVXVersion(const FeatureBitset &Features) {
- for (auto Arch : {Hexagon::ExtensionHVXV81, Hexagon::ExtensionHVXV79,
- Hexagon::ExtensionHVXV75, Hexagon::ExtensionHVXV73,
- Hexagon::ExtensionHVXV71, Hexagon::ExtensionHVXV69,
- Hexagon::ExtensionHVXV68, Hexagon::ExtensionHVXV67,
- Hexagon::ExtensionHVXV66, Hexagon::ExtensionHVXV65,
- Hexagon::ExtensionHVXV62, Hexagon::ExtensionHVXV60})
+ for (auto Arch : {Hexagon::ExtensionHVXV83, Hexagon::ExtensionHVXV81,
+ Hexagon::ExtensionHVXV79, Hexagon::ExtensionHVXV75,
+ Hexagon::ExtensionHVXV73, Hexagon::ExtensionHVXV71,
+ Hexagon::ExtensionHVXV69, Hexagon::ExtensionHVXV68,
+ Hexagon::ExtensionHVXV67, Hexagon::ExtensionHVXV66,
+ Hexagon::ExtensionHVXV65, Hexagon::ExtensionHVXV62,
+ Hexagon::ExtensionHVXV60})
if (Features.test(Arch))
return Arch;
return {};
@@ -692,13 +706,13 @@ Hexagon_MC::getHVXVersion(const FeatureBitset &Features) {
unsigned Hexagon_MC::getArchVersion(const FeatureBitset &Features) {
for (auto Arch :
- {Hexagon::ArchV81, Hexagon::ArchV79, Hexagon::ArchV75, Hexagon::ArchV73,
- Hexagon::ArchV71, Hexagon::ArchV69, Hexagon::ArchV68, Hexagon::ArchV67,
- Hexagon::ArchV66, Hexagon::ArchV65, Hexagon::ArchV62, Hexagon::ArchV60,
- Hexagon::ArchV55, Hexagon::ArchV5})
+ {Hexagon::ArchV83, Hexagon::ArchV81, Hexagon::ArchV79, Hexagon::ArchV75,
+ Hexagon::ArchV73, Hexagon::ArchV71, Hexagon::ArchV69, Hexagon::ArchV68,
+ Hexagon::ArchV67, Hexagon::ArchV66, Hexagon::ArchV65, Hexagon::ArchV62,
+ Hexagon::ArchV60, Hexagon::ArchV55, Hexagon::ArchV5})
if (Features.test(Arch))
return Arch;
- llvm_unreachable("Expected arch v5-v81");
+ llvm_unreachable("Expected arch v5-v83");
return 0;
}
@@ -720,7 +734,8 @@ unsigned Hexagon_MC::GetELFFlags(const MCSubtargetInfo &STI) {
.Case("hexagonv73", llvm::ELF::EF_HEXAGON_MACH_V73)
.Case("hexagonv75", llvm::ELF::EF_HEXAGON_MACH_V75)
.Case("hexagonv79", llvm::ELF::EF_HEXAGON_MACH_V79)
- .Case("hexagonv81", llvm::ELF::EF_HEXAGON_MACH_V81);
+ .Case("hexagonv81", llvm::ELF::EF_HEXAGON_MACH_V81)
+ .Case("hexagonv83", llvm::ELF::EF_HEXAGON_MACH_V83);
}
llvm::ArrayRef<MCPhysReg> Hexagon_MC::GetVectRegRev() {
diff --git a/llvm/test/MC/Hexagon/arch-support.s b/llvm/test/MC/Hexagon/arch-support.s
index 94a6eb1714f30b..f576db416dac5d 100644
--- a/llvm/test/MC/Hexagon/arch-support.s
+++ b/llvm/test/MC/Hexagon/arch-support.s
@@ -11,6 +11,7 @@
# RUN: llvm-mc -triple=hexagon -mv75 -filetype=obj %s | llvm-readelf -h - | FileCheck --check-prefix=CHECK-V75 %s
# RUN: llvm-mc -triple=hexagon -mv79 -filetype=obj %s | llvm-readelf -h - | FileCheck --check-prefix=CHECK-V79 %s
# RUN: llvm-mc -triple=hexagon -mv81 -filetype=obj %s | llvm-readelf -h - | FileCheck --check-prefix=CHECK-V81 %s
+# RUN: llvm-mc -triple=hexagon -mv83 -filetype=obj %s | llvm-readelf -h - | FileCheck --check-prefix=CHECK-V83 %s
## Check which arch version llvm-mc sets when the user does not provide one.
# RUN: llvm-mc -triple=hexagon -filetype=obj %s | llvm-readelf -h - | FileCheck --check-prefix=CHECK-DEFAULT %s
@@ -28,6 +29,7 @@
# RUN: llvm-mc -triple=hexagon -mv75 -filetype=obj %s | llvm-objdump --disassemble - | FileCheck --check-prefix=CHECK-OBJDUMP %s
# RUN: llvm-mc -triple=hexagon -mv79 -filetype=obj %s | llvm-objdump --disassemble - | FileCheck --check-prefix=CHECK-OBJDUMP %s
# RUN: llvm-mc -triple=hexagon -mv81 -filetype=obj %s | llvm-objdump --disassemble - | FileCheck --check-prefix=CHECK-OBJDUMP %s
+# RUN: llvm-mc -triple=hexagon -mv83 -filetype=obj %s | llvm-objdump --disassemble - | FileCheck --check-prefix=CHECK-OBJDUMP %s
.text
r1 = r1
@@ -44,6 +46,7 @@ r1 = r1
# CHECK-V75: Flags:{{.*}}0x75
# CHECK-V79: Flags:{{.*}}0x79
# CHECK-V81: Flags:{{.*}}0x81
+# CHECK-V83: Flags:{{.*}}0x83
# CHECK-DEFAULT: Flags:{{.*}}0x68
# CHECK-OBJDUMP: { r1 = r1 }
diff --git a/llvm/test/MC/Hexagon/v83_arch.s b/llvm/test/MC/Hexagon/v83_arch.s
new file mode 100644
index 00000000000000..d66ce2b57b1fcd
--- /dev/null
+++ b/llvm/test/MC/Hexagon/v83_arch.s
@@ -0,0 +1,10 @@
+# RUN: llvm-mc -arch=hexagon -mcpu=hexagonv83 -filetype=obj %s | llvm-objdump -d - | FileCheck %s
+# RUN: llvm-mc -arch=hexagon -mcpu=hexagonv83 -mhvx -filetype=obj %s | llvm-objdump -d - | FileCheck %s
+
+r1=memw(r0)
+{ r0=r0
+ memw(r0)=r0.new }
+
+# CHECK: { r1 = memw(r0+#0x0) }
+# CHECK: { r0 = r0
+# CHECK: memw(r0+#0x0) = r0.new }
diff --git a/llvm/test/MC/Hexagon/v83_hvx.s b/llvm/test/MC/Hexagon/v83_hvx.s
new file mode 100644
index 00000000000000..603750fc4174c8
--- /dev/null
+++ b/llvm/test/MC/Hexagon/v83_hvx.s
@@ -0,0 +1,116 @@
+# RUN: llvm-mc -triple=hexagon -mv83 -mhvx -filetype=obj %s | \
+# RUN: llvm-objdump --mcpu=hexagonv83 --mattr=+hvx -d - | FileCheck %s
+
+# Test the new V83 HVX instructions. CHECK lines verify the encoding bytes.
+
+# V6_vabsdiffuw
+v0.uw = vabsdiff(v1.uw,v2.uw)
+# CHECK: 1aa2e140
+
+# V6_vadduhhsat
+v0.uh = vadd(v1.h,v2.h):sat
+# CHECK: 1a82e1c0
+
+# V6_vadduwwsat_dv
+v1:0.uw = vadd(v3:2.w,v5:4.w):sat
+# CHECK: 1a04e2c0
+
+# V6_vmaxuw
+v0.uw = vmax(v1.uw,v2.uw)
+# CHECK: 1aa2e100
+
+# V6_vminuw
+v0.uw = vmin(v1.uw,v2.uw)
+# CHECK: 1aa2e120
+
+# V6_vnavguh
+v0.h = vnavg(v1.uh,v2.uh)
+# CHECK: 1aa2e160
+
+# V6_vnavguw
+v0.w = vnavg(v1.uw,v2.uw)
+# CHECK: 1aa2e180
+
+# V6_vsubuhhsat
+v0.uh = vsub(v1.h,v2.h):sat
+# CHECK: 1a02e1a0
+
+# V6_vsubuwwsat_dv
+v1:0.uw = vsub(v3:2.w,v5:4.w):sat
+# CHECK: 1a04e2e0
+
+# V6_vmpar_uwuhuw_si
+v3:2.w = vmpa(v3:2.h,v1.uh,r0.w)
+# CHECK: 1aa0e1a2
+
+# V6_vmpar_wuhw_si
+v3:2.uw = vmpa(v3:2.uh,v1.uh,r0.w)
+# CHECK: 1aa0e1c2
+
+# V6_vmpauhuh
+v1.h = vmpa(v1.h,v1.uh,r1:0.uh)
+# CHECK: 19e0e161
+
+# V6_vmpsuhuh
+v1.h = vmps(v1.h,v1.uh,r1:0.uh)
+# CHECK: 19e0e181
+
+# V6_vmpyewuh_rnd
+v0.w = vmpye(v1.w,v2.uh):rnd
+# CHECK: 1982c180
+
+# V6_vmpyhuh
+v0.h = vmpy(v1.h,v2.uh)
+# CHECK: 1a82e100
+
+# V6_vmpyhuh_rnd
+v0.h = vmpy(v1.h,v2.uh):rnd
+# CHECK: 1a82e140
+
+# V6_vmpyowuh
+v0.w = vmpyo(v1.w,v2.uh)
+# CHECK: 1c42e1c0
+
+# V6_vmpyowuh_acc
+v1.w += vmpyo(v1.w,v2.uh)
+# CHECK: 1c42e1e1
+
+# V6_vmpyowuh_rnd
+v0.w = vmpyo(v1.w,v2.uh):rnd
+# CHECK: 1d02c180
+
+# V6_vmpyowuh_rnd_acc
+v1.w += vmpyo(v1.w,v2.uh):rnd
+# CHECK: 1d02c1a1
+
+# V6_vmpyrhuh
+v0.h = vmpy(v1.h,r0.uh)
+# CHECK: 1a80e120
+
+# V6_vmpyrhuh_rnd
+v0.h = vmpy(v1.h,r0.uh):rnd
+# CHECK: 1a80e160
+
+# V6_vmpyrhus
+v1:0.w = vmpy(v1.h,r0.uh)
+# CHECK: 1a80e180
+
+# V6_vmpyrhus_acc
+v3:2.w += vmpy(v1.h,r0.uh)
+# CHECK: 1a80e1a2
+
+# V6_vmpyruhuh
+v0.uh = vmpy(v1.uh,r0.uh)
+# CHECK: 19e0e1a0
+
+# V6_vmpyruhuh_rnd
+v0.uh = vmpy(v1.uh,r0.uh):rnd
+# CHECK: 19e0e1e0
+
+# V6_vmpyuhuh_rnd
+v0.uh = vmpy(v1.uh,v2.uh):rnd
+# CHECK: 19e2e1c0
+
+# V6_vmpauhuhuh
+v1.uh = vmpa(v1.uh,v1.uh,r1:0.uh)
+# CHECK: 19e0e101
More information about the cfe-commits
mailing list