< prev index next >

src/cpu/x86/vm/stubGenerator_x86_32.cpp

Print this page
rev 12906 : [mq]: gc_interface

*** 726,737 **** Label L_loop; const Register end = count; // elements count; end == start+count-1 assert_different_registers(start, end); __ lea(end, Address(start, count, Address::times_ptr, -wordSize)); ! __ shrptr(start, CardTableModRefBS::card_shift); ! __ shrptr(end, CardTableModRefBS::card_shift); __ subptr(end, start); // end --> count __ BIND(L_loop); intptr_t disp = (intptr_t) ct->byte_map_base; Address cardtable(start, count, Address::times_1, disp); __ movb(cardtable, 0); --- 726,737 ---- Label L_loop; const Register end = count; // elements count; end == start+count-1 assert_different_registers(start, end); __ lea(end, Address(start, count, Address::times_ptr, -wordSize)); ! __ shrptr(start, CardTable::card_shift); ! __ shrptr(end, CardTable::card_shift); __ subptr(end, start); // end --> count __ BIND(L_loop); intptr_t disp = (intptr_t) ct->byte_map_base; Address cardtable(start, count, Address::times_1, disp); __ movb(cardtable, 0);
< prev index next >