From 4e828bb48abf12d43c2b4a373b4b2125c90ea152 Mon Sep 17 00:00:00 2001 From: Sagar Ghuge Date: Fri, 22 Mar 2019 19:13:54 -0700 Subject: 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 Reviewed-by: Matt Turner Reviewed-by: Dylan Baker --- src/intel/tools/tests/gen6/dp3.asm | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/intel/tools/tests/gen6/dp3.asm (limited to 'src/intel/tools/tests/gen6/dp3.asm') diff --git a/src/intel/tools/tests/gen6/dp3.asm b/src/intel/tools/tests/gen6/dp3.asm new file mode 100644 index 00000000000..c51880a4e4b --- /dev/null +++ b/src/intel/tools/tests/gen6/dp3.asm @@ -0,0 +1,10 @@ +dp3(8) m4<1>.xF g3<0>.xyzzF g6<4>.xyzzF { align16 NoDDClr 1Q }; +dp3(8) m4<1>.yF g3.4<0>.xyzzF g6<4>.xyzzF { align16 NoDDClr,NoDDChk 1Q }; +dp3(8) g70<1>F g67<4>.xyzzF g67<4>.xyzzF { align16 1Q }; +dp3(8) m4<1>.xF g4<4>.xyzzF g5<4>.xyzzF { align16 1Q }; +dp3.le.f0.0(8) g42<1>.xF g33<4>.xyzzF g3.4<0>.xyzzF { align16 1Q }; +dp3(8) g21<1>.xF g20<4>.xyzzF g1<0>.xyzzF { align16 NoDDClr 1Q }; +dp3(8) g21<1>.yF g20<4>.xyzzF g1.4<0>.xyzzF { align16 NoDDClr,NoDDChk 1Q }; +dp3(8) g21<1>.zF g20<4>.xyzzF g2<0>.xyzzF { align16 NoDDChk 1Q }; +dp3.sat(8) g49<1>F g38<4>.xyzzF g43<4>.xyzzF { align16 1Q }; +dp3.sat(8) m4<1>F g2<4>.xyzzF g2<4>.xyzzF { align16 1Q }; -- cgit v1.2.3