@@ -165,7 +165,6 @@ struct Block{ // Assuming block size is a multiple of atom_t's size in bytes
165165 // How many bits spilled over into atom1
166166 uint16_t spillover = (global_index + field_width_bits) % atom_size_bits;
167167 spillover = (atom1 - atom0) ? spillover : 0 ; // Compare and swap ins?
168- // std::cout << "Spillover is " << spillover << std::endl;
169168
170169 // May be different than the default read mask if field_width_bits
171170 // differs from what is stored in the struct
@@ -402,7 +401,6 @@ struct Block{ // Assuming block size is a multiple of atom_t's size in bytes
402401 memcpy (source_address, &item, field_width_bytes);
403402 }
404403
405- __attribute__ ((optimize(" unroll-loops" )))
406404 INLINE void add_cross_left_displace (uint64_t raw_offset_bits,
407405 uint64_t field_width_bits, uint64_t index, atom_t item){
408406 uint64_t global_index = index * field_width_bits + raw_offset_bits;
@@ -420,8 +418,6 @@ struct Block{ // Assuming block size is a multiple of atom_t's size in bytes
420418 for (uint64_t atom = 1 ; atom < atoms_per_block; atom++){
421419 shifted_block._block_storage [atom] |= _block_storage[atom - 1 ] >> (atom_size_bits - field_width_bits);
422420 }
423- // std::cout << "Block before shift: " << block_storage_as_bit_string(entry_size_bits) << std::endl;
424- // std::cout << "Block after shift: " << shifted_block.block_storage_as_bit_string(entry_size_bits) << std::endl;
425421
426422 // Clear the entire atom
427423 constexpr atom_t full_clear_mask = static_cast <atom_t >(0 );
@@ -482,8 +478,6 @@ struct Block{ // Assuming block size is a multiple of atom_t's size in bytes
482478 for (uint64_t atom = 1 ; atom < atoms_per_block; atom++){
483479 shifted_block._block_storage [atom - 1 ] |= _block_storage[atom] << (atom_size_bits - field_width_bits);
484480 }
485- // std::cout << "Block before shift: " << block_storage_as_bit_string(entry_size_bits) << std::endl;
486- // std::cout << "Block after shift: " << shifted_block.block_storage_as_bit_string(entry_size_bits) << std::endl;
487481
488482 // What follows is a merge operation that is exactly the same as
489483 // what appears in add_cross_left_displace
0 commit comments