aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/tools/tests/gen5/or.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/gen5/or.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/gen5/or.asm')
-rw-r--r--src/intel/tools/tests/gen5/or.asm7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/intel/tools/tests/gen5/or.asm b/src/intel/tools/tests/gen5/or.asm
new file mode 100644
index 00000000000..aa482dc1c63
--- /dev/null
+++ b/src/intel/tools/tests/gen5/or.asm
@@ -0,0 +1,7 @@
+or(8) g3<1>UD g3<8,8,1>UD g5<8,8,1>UD { align1 };
+or(8) g9<1>.xUD g10<4>.xUD g9<4>.xUD { align16 };
+(+f0.0) or(8) g8<1>UD g8<8,8,1>UD 0x3f800000UD { align1 };
+or(16) g12<1>UD g14<8,8,1>UD g20<8,8,1>UD { align1 compr };
+(+f0.0) or(16) g12<1>UD g12<8,8,1>UD 0x3f800000UD { align1 compr };
+(+f0.0) or(8) g17<1>.xUD g17<4>.xUD 0x3f800000UD { align16 };
+or(8) m2<1>.wUD g8<4>.xUD g11<4>.xUD { align16 };