[Beignet] [PATCH V2 1/2] assert equation issue.
Guo, Yejun
yejun.guo at intel.com
Thu Apr 28 02:00:23 UTC 2016
LGTM, thanks.
-----Original Message-----
From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of xionghu.luo at intel.com
Sent: Thursday, April 28, 2016 5:56 PM
To: beignet at lists.freedesktop.org
Cc: Luo, Xionghu
Subject: [Beignet] [PATCH V2 1/2] assert equation issue.
From: Luo Xionghu <xionghu.luo at intel.com>
v2: split patch.
Signed-off-by: Luo Xionghu <xionghu.luo at intel.com>
---
backend/src/backend/gen8_encoder.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/src/backend/gen8_encoder.cpp b/backend/src/backend/gen8_encoder.cpp
index 81f1726..d5059a8 100644
--- a/backend/src/backend/gen8_encoder.cpp
+++ b/backend/src/backend/gen8_encoder.cpp
@@ -506,7 +506,7 @@ namespace gbe
assert(dest.file == GEN_GENERAL_REGISTER_FILE);
assert(dest.nr < 128);
assert(dest.address_mode == GEN_ADDRESS_DIRECT);
- assert(dest.type = GEN_TYPE_F);
+ assert(dest.type == GEN_TYPE_F);
//gen8_insn->bits1.da3src.dest_reg_file = 0;
gen8_insn->bits1.da3src.dest_reg_nr = dest.nr;
gen8_insn->bits1.da3src.dest_subreg_nr = dest.subnr / 4;
--
2.1.4
_______________________________________________
Beignet mailing list
Beignet at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list