diff mbox

[02/10] fix jump count for Sandybridge.

Message ID 1286609550-16083-3-git-send-email-haihao.xiang@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Xiang, Haihao Oct. 9, 2010, 7:32 a.m. UTC
None
diff mbox

Patch

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;