blob: 9c9a03209ec2b67d780f84f0102d409b57545e00 [file] [log] [blame]
Tom Stellard2c1c9de2014-03-24 16:07:25 +00001//===-- R700Instructions.td - R700 Instruction defs -------*- tablegen -*-===//
2//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// 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
Tom Stellard2c1c9de2014-03-24 16:07:25 +00006//
7//===----------------------------------------------------------------------===//
8//
9// TableGen definitions for instructions which are:
10// - Available to R700 and newer VLIW4/VLIW5 GPUs
11// - Available only on R700 family GPUs.
12//
13//===----------------------------------------------------------------------===//
14
Tom Stellard5bfbae52018-07-11 20:59:01 +000015def isR700 : Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::R700">;
Tom Stellard2c1c9de2014-03-24 16:07:25 +000016
17let Predicates = [isR700] in {
18 def SIN_r700 : SIN_Common<0x6E>;
19 def COS_r700 : COS_Common<0x6F>;
20}