HSW: Fix the atomic msg type typo.
authorYang Rong <rong.r.yang@intel.com>
Mon, 19 May 2014 05:52:24 +0000 (13:52 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Mon, 19 May 2014 04:54:22 +0000 (12:54 +0800)
The atomic msg type should be GEN75_P1_UNTYPED_ATOMIC_OP. Correct it.

Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: Junyan He <junyan.he@inbox.com>
backend/src/backend/gen75_encoder.cpp

index 9e758d6..2cda0d7 100644 (file)
@@ -114,7 +114,7 @@ namespace gbe
 
     const GenMessageTarget sfid = GEN_SFID_DATAPORT1_DATA_CACHE;
     setMessageDescriptor(insn, sfid, msg_length, response_length);
-    insn->bits3.gen7_atomic_op.msg_type = GEN75_P1_TYPED_ATOMIC_OP;
+    insn->bits3.gen7_atomic_op.msg_type = GEN75_P1_UNTYPED_ATOMIC_OP;
     insn->bits3.gen7_atomic_op.bti = bti;
     insn->bits3.gen7_atomic_op.return_data = 1;
     insn->bits3.gen7_atomic_op.aop_type = function;