source: proto/pabloj/trunk/input/test/visitors/CarryIntroXFormerFinalBlock/pablo2CarryQ.s2k @ 3687

Last change on this file since 3687 was 3687, checked in by ksherdy, 5 years ago

Renamed test extensions.

File size: 2.1 KB
RevLine 
[2834]1function void Test() {
[3192]2        stream<1> temp;
3        stream<1> C;    // cursor stream
4        stream<1> M;    // marker stream
5        stream<1> R;    // result stream
[3233]6
7/*     
[3192]8        R = carry_set_0.BitBlock_advance_ci_co(C,carry_set_0.GetCarry(0),0);    // Expected
[3233]9        R = pablo.Advance(C);                                                                                                   // Translated
10               
[2989]11        R = carry_set_0.BitBlock_advance_ci_co(C,carry_set_0.GetCarry(1),1);
[2834]12        R = pablo.Advance(C);
13       
[2989]14        R = carry_set_0.BitBlock_scantofirst(M,carry_set_0.GetCarry(2),2);
[2834]15        R = ScanToFirst(M);
16
[2989]17        R = carry_set_0.BitBlock_scantofirst(M,carry_set_0.GetCarry(3),3);     
[2834]18        R = pablo.ScanToFirst(M);
19
[2989]20        R = carry_set_0.BitBlock_scanthru_ci_co(C,X,carry_set_0.GetCarry(4),4);
[2834]21        R = ScanThru(C,X);
22
[2989]23        R = carry_set_0.BitBlock_scanthru_ci_co(C,X,carry_set_0.GetCarry(5),5);
[2834]24        R = pablo.ScanThru(C,X);
25
[2989]26        R = carry_set_0.BitBlock_scanthru_ci_co(C,simd_andc(EOF_mask, X),carry_set_0.GetCarry(6),6);
[2834]27        R = ScanTo(C,X);
28       
[2989]29        R = carry_set_0.BitBlock_scanthru_ci_co(C,simd_andc(EOF_mask, X),carry_set_0.GetCarry(7),7);   
[2834]30        R = pablo.ScanTo(C,X);
31
[2989]32        R = carry_set_0.BitBlock_advance_then_scanthru(C,X,carry_set_0.GetCarry(8),8);
[2834]33        R = AdvanceThenScanThru(C,X);
34       
[2989]35        R = carry_set_0.BitBlock_advance_then_scanthru(C,X,carry_set_0.GetCarry(9),9); 
[2834]36        R = pablo.AdvanceThenScanThru(C,X);
37
[2989]38        R = carry_set_0.BitBlock_advance_then_scanthru(C,simd_andc(EOF_mask, X),carry_set_0.GetCarry(10),10);                   
[2834]39        R = AdvanceThenScanTo(C,X);
40       
[2989]41        R = carry_set_0.BitBlock_advance_then_scanthru(C,simd_andc(EOF_mask, X),carry_set_0.GetCarry(11),11);   
[2834]42        R = pablo.AdvanceThenScanTo(C,X);
43
[2989]44        R = carry_set_0.BitBlock_span_upto(C,X,carry_set_0.GetCarry(12),12);
[2834]45        R = SpanUpTo(C,X);
46       
[2989]47        R = carry_set_0.BitBlock_span_upto(C,X,carry_set_0.GetCarry(13),13);   
[2834]48        R = pablo.SpanUpTo(C,X);
49               
[2989]50        R = carry_set_0.BitBlock_inclusive_span(C,X,carry_set_0.GetCarry(14),14);       
[2834]51        R = InclusiveSpan(C,X);
52       
[2989]53        R = carry_set_0.BitBlock_inclusive_span(C,X,carry_set_0.GetCarry(15),15);       
[2834]54        R = pablo.InclusiveSpan(C,X);                   
55
[2989]56        R = carry_set_0.BitBlock_exclusive_span(C,X,carry_set_0.GetCarry(16),16);       
[2834]57        R = ExclusiveSpan(C,X);
58       
[2989]59        R = carry_set_0.BitBlock_exclusive_span(C,X,carry_set_0.GetCarry(17),17);               
[2834]60        R = pablo.ExclusiveSpan(C,X);                   
[3192]61*/             
[2834]62}
Note: See TracBrowser for help on using the repository browser.