LGTM, thanks.

-----Original Message-----
From: Beignet [mailto:[email protected]] On Behalf Of 
[email protected]
Sent: Thursday, April 28, 2016 5:56 PM
To: [email protected]
Cc: Luo, Xionghu
Subject: [Beignet] [PATCH V2 1/2] assert equation issue.

From: Luo Xionghu <[email protected]>

v2: split patch.

Signed-off-by: Luo Xionghu <[email protected]>
---
 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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/beignet
_______________________________________________
Beignet mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to