summaryrefslogtreecommitdiff
path: root/assembler
diff options
context:
space:
mode:
authorBen Widawsky <benjamin.widawsky@intel.com>2013-08-16 15:24:25 -0700
committerBen Widawsky <benjamin.widawsky@intel.com>2013-11-06 09:39:41 -0800
commit3d8d094efec8cd6efbcead9c2fd54067e1a83223 (patch)
treeb58443b925f1b2496e74478976bd642999db52a2 /assembler
parentbf05bd55310a1cde8efb835d4352c9f7c4fbcb60 (diff)
assembler/bdw: Small cleanup
This was originally part of: commit 62298329350b965e4bbfc558e5a4b1b3646742ea Author: Xiang, Haihao <haihao.xiang@intel.com> Date: Wed Aug 14 14:21:16 2013 -0700 assembler: error for the wrong syntax of SEND instruction on GEN6+ I merged that patch separately, but this tiny hunk was leftover. In order to not muck in changing too much history, I am leaving this as a discrete patch, but with the changed commit message Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'assembler')
-rw-r--r--assembler/gram.y4
1 files changed, 1 insertions, 3 deletions
diff --git a/assembler/gram.y b/assembler/gram.y
index 9b183bee..6978de30 100644
--- a/assembler/gram.y
+++ b/assembler/gram.y
@@ -1364,9 +1364,7 @@ sendinstruction: predicate sendop execsize exp post_dst payload msgtarget
if (set_instruction_src1(&$$, &$8, &@8) != 0)
YYERROR;
- if (IS_GENp(8)) {
- gen8_set_eot(GEN8(&$$), !!($7 & EX_DESC_EOT_MASK));
- } else if (IS_GENx(5)) {
+ if (IS_GENx(5)) {
GEN(&$$)->bits2.send_gen5.sfid = ($7 & EX_DESC_SFID_MASK);
GEN(&$$)->bits3.generic_gen5.end_of_thread = !!($7 & EX_DESC_EOT_MASK);
}