Changeset 729
 Timestamp:
 Nov 28, 2010, 6:13:41 PM (8 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/lib/block_carry.h
r728 r729 74 74 75 75 #define double_int64_adc(x1, x2, y1, y2, rslt1, rslt2, carry) \ 76 __asm__ __volatile__ ("neg %[carry in]\n\t" \76 __asm__ __volatile__ ("neg %[carryflag]\n\t" \ 77 77 "adc %[e1], %[z1]\n\t" \ 78 78 "adc %[e2], %[z2]\n\t" \ 79 "mov $0, %[carryout]\n\t" \ 80 "adc $0, %[carryout]\n\t" \ 81 : [z1] "=a" (rslt1), [z2] "=r" (rslt2), [carryout] "=r" (carry) \ 82 : "0" (y1), "1" (y2), [carryin] "2" (carry), \ 83 [e1] "b" (x1), [e2] "r" (x2)\ 84 : "cc") 79 "mov $0, %[carryflag]\n\t" \ 80 "adc $0, %[carryflag]\n\t" \ 81 : [z1] "=r" (rslt1), [z2] "=r" (rslt2), [carryflag] "=r" (carry) \ 82 : "[z1]" (x1), "[z2]" (x2), \ 83 [e1] "r" (y1), [e2] "r" (y2), \ 84 "[carryflag]" (carry) \ 85 : "cc") 86 85 87 86 88 #define adc128(first, second, carry, sum) \
Note: See TracChangeset
for help on using the changeset viewer.