Changeset 455 for proto/parabix2


Ignore:
Timestamp:
Jul 9, 2010, 3:48:07 PM (9 years ago)
Author:
cameron
Message:

Add test_carry function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/compiled/block_carry.h

    r454 r455  
    1919
    2020#define Carry0 0
     21
     22#define test_carry(x) (((x)&256) > 0)
    2123
    2224#define double_int64_adc(x1, x2, y1, y2, rslt1, rslt2, carry) \
     
    9496#define Carry0 simd_const_1(0)
    9597
     98#define test_carry(x) bitblock_has_bit(x)
     99
    96100#define adc128(x, y, carry,  sum) \
    97101do{ \
Note: See TracChangeset for help on using the changeset viewer.