annotate lib/Target/Hexagon/HexagonScheduleV62.td @ 147:c2174574ed3a

LLVM 10
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 14 Aug 2019 16:55:33 +0900
parents 803732b1fca8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
1 //=-HexagonScheduleV62.td - HexagonV62 Scheduling Definitions *- tablegen -*-=//
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
2 //
147
c2174574ed3a LLVM 10
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 121
diff changeset
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
c2174574ed3a LLVM 10
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 121
diff changeset
4 // See https://llvm.org/LICENSE.txt for license information.
c2174574ed3a LLVM 10
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 121
diff changeset
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
6 //
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
7 //===----------------------------------------------------------------------===//
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
8 //
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
9 // ScalarItin contains some old itineraries still used by a
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
10 // handful of instructions. Hopefully, we will be able to get rid of them soon.
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
11
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
12 def HexagonV62ItinList : DepScalarItinV62, ScalarItin,
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
13 DepHVXItinV62, HVXItin, PseudoItin {
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
14 list<InstrItinData> ItinList =
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
15 !listconcat(DepScalarItinV62_list, ScalarItin_list,
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
16 DepHVXItinV62_list, HVXItin_list, PseudoItin_list);
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
17 }
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
18
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
19 def HexagonItinerariesV62 :
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
20 ProcessorItineraries<[SLOT0, SLOT1, SLOT2, SLOT3, SLOT_ENDLOOP,
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
21 CVI_ST, CVI_XLANE, CVI_SHIFT, CVI_MPY0, CVI_MPY1,
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
22 CVI_LD, CVI_XLSHF, CVI_MPY01, CVI_ALL,
147
c2174574ed3a LLVM 10
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 121
diff changeset
23 CVI_ALL_NOMEM, CVI_ZW],
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
24 [Hex_FWD, HVX_FWD], HexagonV62ItinList.ItinList>;
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
25
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
26 def HexagonModelV62 : SchedMachineModel {
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
27 // Max issue per cycle == bundle width.
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
28 let IssueWidth = 4;
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
29 let Itineraries = HexagonItinerariesV62;
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
30 let LoadLatency = 1;
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
31 let CompleteModel = 0;
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
32 }
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
33
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
34 //===----------------------------------------------------------------------===//
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
35 // Hexagon V62 Resource Definitions -
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
36 //===----------------------------------------------------------------------===//