Mesa (master): intel/tools: Add test for address register as source

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Feb 25 22:49:22 UTC 2020


Module: Mesa
Branch: master
Commit: 31c29f4f55924e59b410b3f17c4b1105451bbc0c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=31c29f4f55924e59b410b3f17c4b1105451bbc0c

Author: Sagar Ghuge <sagar.ghuge at intel.com>
Date:   Fri Feb  7 16:04:15 2020 -0800

intel/tools: Add test for address register as source

Signed-off-by: Sagar Ghuge <sagar.ghuge at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3952>

---

 src/intel/tools/tests/gen7/mov.asm      | 1 +
 src/intel/tools/tests/gen7/mov.expected | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/intel/tools/tests/gen7/mov.asm b/src/intel/tools/tests/gen7/mov.asm
index ef36ad8df03..e77b450e42a 100644
--- a/src/intel/tools/tests/gen7/mov.asm
+++ b/src/intel/tools/tests/gen7/mov.asm
@@ -145,3 +145,4 @@ mov.z.f1.0(8)   null<1>UW       0x0000UW                        { align1 1Q };
 mov.z.f1.0(16)  null<1>UW       0x0000UW                        { align1 1H };
 mov.z.f0.0(8)   null<1>D        g21<8,8,1>F                     { align1 1Q };
 mov.z.f0.0(16)  null<1>D        g86<8,8,1>F                     { align1 1H };
+mov(1)          a0.4<1>W        127W                            { align1 1N };
diff --git a/src/intel/tools/tests/gen7/mov.expected b/src/intel/tools/tests/gen7/mov.expected
index 94680fd61f7..418c6464e4b 100644
--- a/src/intel/tools/tests/gen7/mov.expected
+++ b/src/intel/tools/tests/gen7/mov.expected
@@ -145,3 +145,4 @@
 01 00 80 01 68 21 00 20 00 00 00 04 00 00 00 00
 01 00 60 01 a4 03 00 20 a0 02 8d 00 00 00 00 00
 01 00 80 01 a4 03 00 20 c0 0a 8d 00 00 00 00 00
+01 00 00 00 ec 31 08 22 00 00 00 00 7f 00 7f 00



More information about the mesa-commit mailing list