Changes between Version 3 and Version 4 of IDISAproject


Ignore:
Timestamp:
May 6, 2010, 7:03:04 AM (9 years ago)
Author:
cameron
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IDISAproject

    v3 v4  
    100100any given platform.
    101101
     102Note that there are lots of potential tricks.   For example,
     103consider the implementation of simd_hl<2>::add(a), where
     104addition is natively supported for only larger field widths.
     105A direct implementation requires 1 shift, two mask and one add
     106operation.
     107
     108simd<16>::add(simd<16>::srli(a, 1) & simd<2>:constant(1), a & simd<2>:constant(1))
     109
     110But one of the masks can be eliminated by taking advantage
     111of the properties of 2-bit subtraction
     112simd<16>::sub(a, simd<16>::srli(a, 1) & simd<2>:constant(1))
     113
     114
     115
     116
    102117=== IDISA Test Generator ===
    103118The test generator complements the generator kit by producing