xref: /aosp_15_r20/external/llvm/lib/Target/AMDGPU/R700Instructions.td (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker//===-- R700Instructions.td - R700 Instruction defs  -------*- tablegen -*-===//
2*9880d681SAndroid Build Coastguard Worker//
3*9880d681SAndroid Build Coastguard Worker//                     The LLVM Compiler Infrastructure
4*9880d681SAndroid Build Coastguard Worker//
5*9880d681SAndroid Build Coastguard Worker// This file is distributed under the University of Illinois Open Source
6*9880d681SAndroid Build Coastguard Worker// License. See LICENSE.TXT for details.
7*9880d681SAndroid Build Coastguard Worker//
8*9880d681SAndroid Build Coastguard Worker//===----------------------------------------------------------------------===//
9*9880d681SAndroid Build Coastguard Worker//
10*9880d681SAndroid Build Coastguard Worker// TableGen definitions for instructions which are:
11*9880d681SAndroid Build Coastguard Worker// - Available to R700 and newer VLIW4/VLIW5 GPUs
12*9880d681SAndroid Build Coastguard Worker// - Available only on R700 family GPUs.
13*9880d681SAndroid Build Coastguard Worker//
14*9880d681SAndroid Build Coastguard Worker//===----------------------------------------------------------------------===//
15*9880d681SAndroid Build Coastguard Worker
16*9880d681SAndroid Build Coastguard Workerdef isR700 : Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::R700">;
17*9880d681SAndroid Build Coastguard Worker
18*9880d681SAndroid Build Coastguard Workerlet Predicates = [isR700] in {
19*9880d681SAndroid Build Coastguard Worker  def SIN_r700 : SIN_Common<0x6E>;
20*9880d681SAndroid Build Coastguard Worker  def COS_r700 : COS_Common<0x6F>;
21*9880d681SAndroid Build Coastguard Worker}
22