Changeset 2537


Ignore:
Timestamp:
Oct 22, 2012, 4:36:49 PM (6 years ago)
Author:
ksherdy
Message:

Fixed augmented assignment removal test.

Location:
proto/pablo/input/test/visitors/AugmentedAssignment
Files:
1 copied
1 moved

Legend:

Unmodified
Added
Removed
  • proto/pablo/input/test/visitors/AugmentedAssignment/augmentedAssignment.pablo

    r2536 r2537  
    11function void Test() {
    2         var stream temp;
    32        var stream x;
    43        var stream y;
    54        var stream z;
    65
    7         x = simd_or(x,y);
     6        x = x | y;
    87        x |= y;
    9                
    10         x = simd_and(x,y);
     8                       
     9        x = x & y;
    1110        x &= y;
    1211       
    13         x = simd_xor(x,y);
     12        x = x ^ y;
    1413        x ^= y;
    1514               
    16         x |=  simd_or(x, simd_or(y,z));
    1715        x =  x | y | z;
     16        x |= y | z;
    1817       
    19         x = simd_and(x, simd_and(y,z));
     18        x = x & y & z;
    2019        x &=  y & z;
    2120       
    22         x =  simd_xor(x, simd_xor(y,z));
     21        x =  x ^ y ^ z;
    2322        x ^=  y ^ z;
    2423
Note: See TracChangeset for help on using the changeset viewer.