### TestIRIW+pora+syncaa+PA

```PPC IRIW+pora+syncaa+PA
"RfePR PodRRRA FreAA RfeAA SyncdRRAA FreAP"
Cycle=RfeAA SyncdRRAA FreAP RfePR PodRRRA FreAA
Prefetch=0:x=T,1:y=T,2:y=T,3:x=T
Com=Rf Fr Rf Fr
Orig=RfePR PodRRRA FreAA RfeAA SyncdRRAA FreAP
{ ok=1;
0:r2=x;
1:r2=x; 1:r4=y; 1:r6=ok;
2:r2=y; 2:r4=ok;
3:r2=y; 3:r4=x; 3:r6=ok;
}
P0           | P1              | P2               | P3              ;
li r1,1      | lwarx r1,r0,r2  | li r1,1          | lwarx r1,r0,r2  ;
stw r1,0(r2) | lwarx r3,r0,r4  | lwarx %sta,r0,r2 | stwcx. r1,r0,r2 ;
| stwcx. r3,r0,r4 | stwcx. r1,r0,r2  | bne  Fail3      ;
| bne  Fail1      | bne  Fail2       | sync            ;
| b   Exit1       | b   Exit2        | lwarx r3,r0,r4  ;
| Fail1:          | Fail2:           | stwcx. r3,r0,r4 ;
| li r5,0         | li r3,0          | bne  Fail3      ;
| stw r5,0(r6)    | stw r3,0(r4)     | b   Exit3       ;
| Exit1:          | Exit2:           | Fail3:          ;
|                 |                  | li r5,0         ;
|                 |                  | stw r5,0(r6)    ;
|                 |                  | Exit3:          ;
exists
(ok=1 /\ 1:r1=1 /\ 1:r3=0 /\ 3:r1=1 /\ 3:r3=0)
```