Ignore:
Timestamp:
Dec 29, 2011, 11:17:03 AM (7 years ago)
Author:
cameron
Message:

Eliminate u8 struct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/u8u16/pablo_template.cpp

    r1813 r1821  
    178178        BitBlock errbit = simd_andc(error_mask, bitblock::slli<1>(cutoff_mask));
    179179        u8advance = errpos;
    180         if (bitblock::any(simd_and(u8.scope44, errbit))) {
     180        if (bitblock::any(simd_and(u8_scope44, errbit))) {
    181181          u8advance -= 3;
    182182          /* May have already first of a surrogate pair to targetbuf. */
    183183          if (u8advance == -3) *targetbuf -= 1;
    184184        }
    185         else if (bitblock::any(simd_and(u8.scope43, errbit))) {
     185        else if (bitblock::any(simd_and(u8_scope43, errbit))) {
    186186          u8advance -= 2;
    187187        }
    188         else if (bitblock::any(simd_and(u8.scope33, errbit))) {
     188        else if (bitblock::any(simd_and(u8_scope33, errbit))) {
    189189          u8advance -= 2;
    190190        }
    191         else if (bitblock::any(simd_and(simd_or(u8.scope22, simd_or(u8.scope32, u8.scope42)), errbit))) {
     191        else if (bitblock::any(simd_and(simd_or(u8_scope22, simd_or(u8_scope32, u8_scope42)), errbit))) {
    192192          u8advance -= 1;
    193193        }
     
    212212              do_right8_shifts(u16lo[6], shift1, shift2, shift4);
    213213              do_right8_shifts(u16lo[7], shift1, shift2, shift4);
    214               if (bitblock::any(u8.scope33 | u8surrogate)) {
     214              if (bitblock::any(u8_scope33 | u8surrogate)) {
    215215                      do_right8_shifts(u16hi[0], shift1, shift2, shift4);
    216216                      do_right8_shifts(u16hi[1], shift1, shift2, shift4);
Note: See TracChangeset for help on using the changeset viewer.