[Intel-gfx] [PATCH 02/10] fix jump count for Sandybridge.
Xiang, Haihao
haihao.xiang at intel.com
Sat Oct 9 09:32:22 CEST 2010
It is same as Ironlake.
Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
---
src/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main.c b/src/main.c
index 7c0b579..12901a7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -130,7 +130,7 @@ int main(int argc, char **argv)
int offset =
entry1->inst_offset - entry->inst_offset;
- if (gen_level == 5)
+ if (gen_level >= 5)
entry->instruction.bits3.ud = 2 * (offset - 1);
else
entry->instruction.bits3.ud = offset - 1;
--
1.7.0.4
More information about the Intel-gfx
mailing list