diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2014-03-24 16:07:25 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2014-03-24 16:07:25 +0000 |
commit | 2c1c9de1515c1fa98426702196f4a9895a0450c5 (patch) | |
tree | 2f8f81804581675ea91f998fccd45f52aab4d983 /llvm/lib/Target/R600/R700Instructions.td | |
parent | 114777e47f4fd7cd9687ad4a3c9e5076fafdf07d (diff) | |
download | bcm5719-llvm-2c1c9de1515c1fa98426702196f4a9895a0450c5.tar.gz bcm5719-llvm-2c1c9de1515c1fa98426702196f4a9895a0450c5.zip |
R600: Reorganize tablegen instruction definitions
Each GPU family now has its own file.
llvm-svn: 204615
Diffstat (limited to 'llvm/lib/Target/R600/R700Instructions.td')
-rw-r--r-- | llvm/lib/Target/R600/R700Instructions.td | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/R700Instructions.td b/llvm/lib/Target/R600/R700Instructions.td new file mode 100644 index 00000000000..9aad85da4e9 --- /dev/null +++ b/llvm/lib/Target/R600/R700Instructions.td @@ -0,0 +1,21 @@ +//===-- R700Instructions.td - R700 Instruction defs -------*- tablegen -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// TableGen definitions for instructions which are: +// - Available to R700 and newer VLIW4/VLIW5 GPUs +// - Available only on R700 family GPUs. +// +//===----------------------------------------------------------------------===// + +def isR700 : Predicate<"Subtarget.getGeneration() == AMDGPUSubtarget::R700">; + +let Predicates = [isR700] in { + def SIN_r700 : SIN_Common<0x6E>; + def COS_r700 : COS_Common<0x6F>; +} |