mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 12:02:58 +02:00
ae65e281f3
to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
28 lines
1.1 KiB
TableGen
28 lines
1.1 KiB
TableGen
//===--- HexagonIICHVX.td -------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
def CVI_GATHER_PSEUDO : InstrItinClass;
|
|
def CVI_VA : InstrItinClass;
|
|
|
|
class HVXItin {
|
|
list<InstrItinData> HVXItin_list = [
|
|
InstrItinData<CVI_VA,
|
|
[InstrStage<1, [SLOT0,SLOT1,SLOT2,SLOT3], 0>,
|
|
InstrStage<1, [CVI_XLANE,CVI_SHIFT, CVI_MPY0, CVI_MPY1]>],
|
|
[9, 7, 7, 7], [HVX_FWD, HVX_FWD, HVX_FWD]>,
|
|
|
|
// Used by Gather Pseudo Instructions which are expanded into
|
|
// V6_vgather* and V6_vS32b_new_ai. Even though these instructions
|
|
// use CVI_ST resource, it's not included below to avoid having more than
|
|
// 4 InstrStages and thus changing 'MaxResTerms' to 5.
|
|
InstrItinData <CVI_GATHER_PSEUDO,
|
|
[InstrStage<1, [SLOT0], 0>,
|
|
InstrStage<1, [CVI_LD], 0>, InstrStage<1, [CVI_ST], 0>,
|
|
InstrStage<1, [CVI_MPY01, CVI_XLSHF]>]>];
|
|
}
|