xref: /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/R700Instructions.td (revision 0b57cec536236d46e3dba9bd041533462f33dbb7)
1//===-- R700Instructions.td - R700 Instruction defs  -------*- tablegen -*-===//
2//
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
6//
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
15def isR700 : Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::R700">;
16
17let Predicates = [isR700] in {
18  def SIN_r700 : SIN_Common<0x6E>;
19  def COS_r700 : COS_Common<0x6F>;
20}
21