diff options
author | Homer Hsing <homer.xing@intel.com> | 2012-09-17 16:11:49 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2012-09-26 23:27:00 -0400 |
commit | e0b2236b0e497467d9ec0636e0e2dcdaeb7ea1b7 (patch) | |
tree | 833d3ddc30df6dd1c90d0fe0fd9541134f93cae8 | |
parent | 95a4762a71a23d0f016f62ff5f0105eb815e78f1 (diff) |
Use bits3.if_else.jump_count instead of bits3.ud for readability
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -330,9 +330,9 @@ int main(int argc, char **argv) entry1->inst_offset - entry->inst_offset; int delta = (entry->instruction.header.opcode == BRW_OPCODE_JMPI ? 1 : 0); if (gen_level >= 5) - entry->instruction.bits3.ud = 2 * (offset - delta); + entry->instruction.bits3.if_else.jump_count = 2 * (offset - delta); // bspec: the jump distance in number of eight-byte units else - entry->instruction.bits3.ud = offset - delta; + entry->instruction.bits3.if_else.jump_count = offset - delta; if (entry->instruction.header.opcode == BRW_OPCODE_ELSE) entry->instruction.bits3.if_else.pop_count = 1; |