summaryrefslogtreecommitdiff
path: root/src/rotation_sf0.g4a
diff options
context:
space:
mode:
authorWang Zhenyu <zhenyu.z.wang@intel.com>2007-01-03 22:37:32 -0800
committerKeith Packard <keithp@neko.keithp.com>2007-01-06 14:40:27 -0800
commit71946bcdc3c68c220996afac944698eea1974a36 (patch)
tree64ccbabbfa09067540a51077b9096baf16b1524b /src/rotation_sf0.g4a
parent35cebed70827999812f8343ac97ad0dffda20786 (diff)
[PATCH] Add rotation support for 965.
Diffstat (limited to 'src/rotation_sf0.g4a')
-rw-r--r--src/rotation_sf0.g4a17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/rotation_sf0.g4a b/src/rotation_sf0.g4a
new file mode 100644
index 00000000..8c1398f4
--- /dev/null
+++ b/src/rotation_sf0.g4a
@@ -0,0 +1,17 @@
+send (1) 0 g6<1>F g1.12<0,1,0>F math inv scalar mlen 1 rlen 1 { align1 };
+send (1) 0 g6.4<1>F g1.20<0,1,0>F math inv scalar mlen 1 rlen 1 { align1 };
+add (8) g7<1>F g4<8,8,1>F -g3<8,8,1>F { align1 };
+mul (1) g7<1>F g7<0,1,0>F g6<0,1,0>F { align1 };
+mul (1) g7.4<1>F g7.4<0,1,0>F g6.4<0,1,0>F { align1 };
+mov (8) m1<1>F g7<0,1,0>F { align1 };
+mov (8) m2<1>F g7.4<0,1,0>F { align1 };
+mov (8) m3<1>F g3<8,8,1>F { align1 };
+send (8) 0 null g0<8,8,1>F urb 0 transpose used complete mlen 4 rlen 0 { align1 EOT };
+nop;
+nop;
+nop;
+nop;
+nop;
+nop;
+nop;
+nop;