Changeset 745


Ignore:
Timestamp:
Nov 30, 2010, 10:35:46 PM (8 years ago)
Author:
ksherdy
Message:

Fix debug variable name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/sse_simd.h

    r738 r745  
    675675
    676676/*
    677    Returns parallel-prefix XOR (parity) mask based on parity of the arguments parity_1 and parity_mask.
     677   Returns parallel-prefix XOR (parity) mask based on parity of the arguments parity_1 and bitblock_parity_mask.
    678678   
    679679   parity_1 - parity of 1 bit fields
     
    683683   parity_128 - parity of 128 bit fields (register width).
    684684   
    685    parity_mask - mask of all 1's or all 0's,
    686                  Under the block-by-block processing model, a mask of all 1's => odd parity in the previous block, all 0's => even parity.
     685   bitblock_parity_mask - mask of all 1's or all 0's,
     686   Under the block-by-block processing model, a mask of all 1's => odd parity in the previous block, all 0's => even parity.
    687687   
    688688*/
    689 static inline SIMD_type bitblock_parallel_prefix_parity(SIMD_type parity_1, SIMD_type parity_mask) {
     689static inline SIMD_type bitblock_parallel_prefix_parity(SIMD_type parity_1, SIMD_type bitblock_parity_mask) {
    690690 
    691691  SIMD_type parity_2 = simd_xor(parity_1, sisd_slli(parity_1,1));
     
    698698
    699699  /*
    700   print_simd_register("crt_blk",crt_blk); 
     700  print_simd_register("parity_1",parity_1); 
    701701  print_simd_register("parity_2",parity_2); 
    702702  print_simd_register("parity_4",parity_4);   
     
    706706  print_simd_register("parity_64",parity_64); 
    707707  print_simd_register("parity_128",parity_128); 
    708   print_simd_register("parity_mask",parity_mask); 
     708  print_simd_register("bitblock_parity_mask",bitblock_parity_mask); 
    709709  */
    710710 
    711   return simd_xor(parity_128, parity_mask);
    712 }
    713 
    714 #endif
    715 
     711  return simd_xor(parity_128, bitblock_parity_mask);
     712}
     713
     714#endif
     715
Note: See TracChangeset for help on using the changeset viewer.