1 //===-- R700Instructions.td - R700 Instruction defs -------*- tablegen -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // TableGen definitions for instructions which are:
10 // - Available to R700 and newer VLIW4/VLIW5 GPUs
11 // - Available only on R700 family GPUs.
13 //===----------------------------------------------------------------------===//
15 def isR700 : Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::R700">;
17 let Predicates = [isR700] in {
18 def SIN_r700 : SIN_Common<0x6E>;
19 def COS_r700 : COS_Common<0x6F>;