Home | History | Annotate | Download | only in AMDGPU
      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 
     16 def isR700 : Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::R700">;
     17 
     18 let Predicates = [isR700] in {
     19   def SIN_r700 : SIN_Common<0x6E>;
     20   def COS_r700 : COS_Common<0x6F>;
     21 }
     22