Changeset 467


Ignore:
Timestamp:
Jul 11, 2010, 5:13:36 PM (9 years ago)
Author:
cameron
Message:

restore template.c

Location:
proto/parabix2
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2

  • proto/parabix2/compiled/sse_simd.h

    r459 r467  
    3636typedef __m128i SIMD_type;
    3737
    38 
     38#ifdef SAHFLAHF
     39#endif
     40#ifndef SAHFLAHF
     41#define double_int64_adc(x1, x2, y1, y2, rslt1, rslt2, carry) \
     42  __asm__ volatile ("add %[carryflag], %[z1]\n\t" \
     43        "adc %[e1], %[z1]\n\t" \
     44        "adc %[e2], %[z2]\n\t" \
     45        "mov $0, %[carryflag]\n\t" \
     46        "adc $0, %[carryflag]\n\t" \
     47        : [z1] "=r" (rslt1), [z2] "=r" (rslt2), [carryflag] "=r" (carry) \
     48        : "[z1]" (x1), "[z2]" (x2), \
     49           [e1] "r" (y1), [e2] "r" (y2), \
     50           "[carryflag]" (carry) \
     51        : "cc")
     52#endif
    3953
    4054/*------------------------------------------------------------*/
Note: See TracChangeset for help on using the changeset viewer.