Changes between Version 4 and Version 5 of IDISAproject


Ignore:
Timestamp:
May 18, 2010, 6:56:29 PM (9 years ago)
Author:
cameron
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IDISAproject

    v4 v5  
    100100any given platform.
    101101
    102 Note that there are lots of potential tricks.   For example,
     102Note that there are lots of potential tricks.   
     103
     1041. For example,
    103105consider the implementation of simd_hl<2>::add(a), where
    104106addition is natively supported for only larger field widths.
     
    106108operation.
    107109
    108 simd<16>::add(simd<16>::srli(a, 1) & simd<2>:constant(1), a & simd<2>:constant(1))
     110simd_hl<2>::add(a) = simd<16>::add(simd<16>::srli(a, 1) & simd<2>:constant(1), a & simd<2>:constant(1))
    109111
    110112But one of the masks can be eliminated by taking advantage
    111 of the properties of 2-bit subtraction
    112 simd<16>::sub(a, simd<16>::srli(a, 1) & simd<2>:constant(1))
     113of the properties of 2-bit subtraction.
    113114
    114 
    115 
     115simd_hl<2>::add(a) = simd<16>::sub(a, simd<16>::srli(a, 1) & simd<2>:constant(1))
    116116
    117117=== IDISA Test Generator ===
     
    131131such as simd<16>::add(a,b) on most platforms.
    132132
     133
     134
    133135=== IDISA Reverse Instruction Optimizer. ===
    134136Various processor