blob: 613a0d729bb338e3ac5822ac46d46dfafe46814e [file] [log] [blame]
Tom Stellard2c1c9de2014-03-24 16:07:25 +00001//===-- R700Instructions.td - R700 Instruction defs -------*- tablegen -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// TableGen definitions for instructions which are:
11// - Available to R700 and newer VLIW4/VLIW5 GPUs
12// - Available only on R700 family GPUs.
13//
14//===----------------------------------------------------------------------===//
15
Eric Christopher7792e322015-01-30 23:24:40 +000016def isR700 : Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::R700">;
Tom Stellard2c1c9de2014-03-24 16:07:25 +000017
18let Predicates = [isR700] in {
19 def SIN_r700 : SIN_Common<0x6E>;
20 def COS_r700 : COS_Common<0x6F>;
21}