aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/tools/tests/gen7/dp4.asm
diff options
context:
space:
mode:
authorSagar Ghuge <[email protected]>2019-03-22 19:13:54 -0700
committerMatt Turner <[email protected]>2019-05-07 14:33:48 -0700
commit4e828bb48abf12d43c2b4a373b4b2125c90ea152 (patch)
tree71d021ec2939a0d9dcdb78a35ff3419ecfb8f78c /src/intel/tools/tests/gen7/dp4.asm
parent1fb5ce0a11ccb8a0f8d41d0499f8a16b1dfef379 (diff)
intel/tools: Add unit tests for assembler
v1: Pass executable object from meson to test(Dylan Baker) v2: Ignore generated output files from git status(Matt Turner) Signed-off-by: Sagar Ghuge <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/intel/tools/tests/gen7/dp4.asm')
-rw-r--r--src/intel/tools/tests/gen7/dp4.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/tools/tests/gen7/dp4.asm b/src/intel/tools/tests/gen7/dp4.asm
new file mode 100644
index 00000000000..51a943a8886
--- /dev/null
+++ b/src/intel/tools/tests/gen7/dp4.asm
@@ -0,0 +1,6 @@
+dp4(8) g115<1>.xF g3<4>F g1<0>F { align16 NoDDClr 1Q };
+dp4(8) g115<1>.yF g3<4>F g1.4<0>F { align16 NoDDClr,NoDDChk 1Q };
+dp4(8) g115<1>.wF g3<4>F g2.4<0>F { align16 NoDDChk 1Q };
+dp4(8) g115<1>.wF g5<4>F g2.4<0>F { align16 1Q };
+dp4.sat(8) g116<1>F g2<4>.xF g2<4>F { align16 1Q };
+dp4(8) g15<1>.xF g2<4>F 0x3f800000F /* 1F */ { align16 1Q };