R600: Print Export Swizzle
authorVincent Lejeune <vljn@ovi.com>
Tue, 9 Jul 2013 15:03:03 +0000 (15:03 +0000)
committerVincent Lejeune <vljn@ovi.com>
Tue, 9 Jul 2013 15:03:03 +0000 (15:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185939 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/R600/R600Instructions.td

index 15dcf14bee18fff60c5b98dd751d5202b73d79a0..cb887d13430b761ba92d8fd538e1c25f0b7d2bc5 100644 (file)
@@ -522,9 +522,9 @@ let usesCustomInserter = 1, isNotDuplicable = 1 in {
 class ExportSwzInst : InstR600ISA<(
     outs),
     (ins R600_Reg128:$gpr, i32imm:$type, i32imm:$arraybase,
-    i32imm:$sw_x, i32imm:$sw_y, i32imm:$sw_z, i32imm:$sw_w, i32imm:$inst,
+    RSel:$sw_x, RSel:$sw_y, RSel:$sw_z, RSel:$sw_w, i32imm:$inst,
     i32imm:$eop),
-    !strconcat("EXPORT", " $gpr"),
+    !strconcat("EXPORT", " $gpr.$sw_x$sw_y$sw_z$sw_w"),
     []>, ExportWord0, ExportSwzWord1 {
   let elem_size = 3;
   let Inst{31-0} = Word0;