[llvm] r214936 - R600/SI: Add definitions for ds_read2st64_ / ds_write2st64_

Matt Arsenault Matthew.Arsenault at amd.com
Tue Aug 5 16:53:20 PDT 2014


Author: arsenm
Date: Tue Aug  5 18:53:20 2014
New Revision: 214936

URL: http://llvm.org/viewvc/llvm-project?rev=214936&view=rev
Log:
R600/SI: Add definitions for ds_read2st64_ / ds_write2st64_

Modified:
    llvm/trunk/lib/Target/R600/SIInstructions.td

Modified: llvm/trunk/lib/Target/R600/SIInstructions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/SIInstructions.td?rev=214936&r1=214935&r2=214936&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIInstructions.td (original)
+++ llvm/trunk/lib/Target/R600/SIInstructions.td Tue Aug  5 18:53:20 2014
@@ -827,13 +827,14 @@ def DS_READ_B64 : DS_Load_Helper <0x0000
 
 // 2 forms.
 def DS_WRITE2_B32 : DS_Store2_Helper <0x0000000E, "DS_WRITE2_B32", VReg_32>;
+def DS_WRITE2ST64_B32 : DS_Store2_Helper <0x0000000F, "DS_WRITE2ST64_B32", VReg_32>;
 def DS_WRITE2_B64 : DS_Store2_Helper <0x0000004E, "DS_WRITE2_B64", VReg_64>;
+def DS_WRITE2ST64_B64 : DS_Store2_Helper <0x0000004F, "DS_WRITE2ST64_B64", VReg_64>;
 
 def DS_READ2_B32 : DS_Load2_Helper <0x00000037, "DS_READ2_B32", VReg_64>;
+def DS_READ2ST64_B32 : DS_Load2_Helper <0x00000038, "DS_READ2ST64_B32", VReg_64>;
 def DS_READ2_B64 : DS_Load2_Helper <0x00000075, "DS_READ2_B64", VReg_128>;
-
-// TODO: DS_READ2ST64_B32, DS_READ2ST64_B64,
-// DS_WRITE2ST64_B32, DS_WRITE2ST64_B64
+def DS_READ2ST64_B64 : DS_Load2_Helper <0x00000076, "DS_READ2ST64_B64", VReg_128>;
 
 //===----------------------------------------------------------------------===//
 // MUBUF Instructions





More information about the llvm-commits mailing list