Tom Stellard | 2c1c9de | 2014-03-24 16:07:25 +0000 | [diff] [blame] | 1 | //===-- 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 Christopher | 7792e32 | 2015-01-30 23:24:40 +0000 | [diff] [blame] | 16 | def isR700 : Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::R700">; |
Tom Stellard | 2c1c9de | 2014-03-24 16:07:25 +0000 | [diff] [blame] | 17 | |
| 18 | let Predicates = [isR700] in { |
| 19 | def SIN_r700 : SIN_Common<0x6E>; |
| 20 | def COS_r700 : COS_Common<0x6F>; |
| 21 | } |