From 3d8d094efec8cd6efbcead9c2fd54067e1a83223 Mon Sep 17 00:00:00 2001 From: Ben Widawsky Date: Fri, 16 Aug 2013 15:24:25 -0700 Subject: assembler/bdw: Small cleanup This was originally part of: commit 62298329350b965e4bbfc558e5a4b1b3646742ea Author: Xiang, Haihao 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 --- assembler/gram.y | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'assembler') 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); } -- cgit v1.2.3