21.07.2015 Views

THESE de DOCTORAT Lyu ABE Imagerie à Haute Dynamique ...

THESE de DOCTORAT Lyu ABE Imagerie à Haute Dynamique ...

THESE de DOCTORAT Lyu ABE Imagerie à Haute Dynamique ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

230 Annexe B : Programmation en parallèleAlgorithme parallèle : 12 CyclesEXTU .S1 A10,0x0,0x18,A0 ; |53| extract P0(A0)|| EXTU .S2 B10,0x10,0x18,B4 ; |57| extract P2(B4)CMPGT .L1 A0,A15,A1 ; |54| A,A,A P0>seuil ? -> a(A1)|| CMPGT .L2X B4,A15,B2 ; |58| B,A,B P2>seuil ? -> c(B2)|| AND .S1 A14,A10,A3 ; |59| extract P3(A3)|| EXTU .S2 B10,0x8,0x18,B3 ; |55| extract P1(B3)|| MV .D1 A3,A5 ; |51| cpy P3>Pn for next iterationCMPGT .L1 A3,A15,A2 ; |60| A,A,A P3>seuil ? -> d(A2)|| CMPGT .L2X B3,A15,B8 ; |56| B,A,B P1>seuil ? -> b(B15)OR .L1 A1,A2,A2 ; |62| a OR d -> d|| OR .L2 B8,B2,B2 ; |63| b OR c -> cOR .L1X A2,B2,A2 ; |64| (a OR d) OR (b OR c) -> d|| [ B0] SUB .S2 B0,0x1,B0 ; |50| sub 1 from cntr(B0) if not 0[ !B0] SET .S1 A2,0x0,0x1,A2 ; |74| if zero, set A2 to 1[ !A2] B .S1 LOOP ; |78||| [ !A2] LDW .D1T1 *A8++,A10 ; |75| load A8 content to A10(word0)|| SUB .L2X A8,B13,B9 ; |67| sub 512 from A8 into B9|| ADD .L1X A8,B13,A9 ; |68| add 512 to A8 into A9LDW .D1T1 *-A9(4),A12 ; |71| load bword0 into A12|| LDW .D2T2 *-B9(4),B11 ; |70| load tword0 into B11[ !A2] ADD .S1 0x4,A13,A13 ; |77| coordA += 4NOPNOPMV .L2X A10,B10 ; |76||| [ A2] LDW .D1T1 *A8,A10 ; |80| load A8 content to A10(word0)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!