From 5418183deabccd21e0432fe37b44efc444062908 Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Tue, 2 Jul 2013 12:44:14 +0000 Subject: use 31*8 instead of 31*9 in and instruction --- acompact.asm | 2 +- macho64/acompact.s | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/acompact.asm b/acompact.asm index af3e9ab..9d2ce03 100644 --- a/acompact.asm +++ b/acompact.asm @@ -96,7 +96,7 @@ determine_free_finalizers_after_compact1: mov rax,qword ptr neg_heap_p3+0 add rax,rbp mov rbx,rax - and rax,31*9 + and rax,31*8 shr rbx,8 mov esi,dword ptr (bit_set_table2)[rax] test esi,dword ptr [rdi+rbx*4] diff --git a/macho64/acompact.s b/macho64/acompact.s index 242b6fc..8909c6e 100644 --- a/macho64/acompact.s +++ b/macho64/acompact.s @@ -95,8 +95,8 @@ determine_free_finalizers_after_compact1: mov rax,qword ptr neg_heap_p3[rip] add rax,rbp - mov rbx,rax - and rax,31*9 + mov rbx,rax + and rax,31*8 shr rbx,8 lea r9,bit_set_table2[rip] mov esi,dword ptr [r9+rax] -- cgit v1.2.3