Test S0116

Executions for behaviour: "1:R0=1 ; x=2 ; y=2"

ARM S0116
"DMBdWW Rfe PosRW PosWR DpCtrldW Wse"
Cycle=Rfe PosRW PosWR DpCtrldW Wse DMBdWW
Relax=[Wse,DMBdWW,Rfe]
Safe=PosWR PosRW DpCtrldW
Prefetch=0:x=F,0:y=W,1:y=F,1:x=W
Com=Rf Ws
Orig=DMBdWW Rfe PosRW PosWR DpCtrldW Wse
{
%x0=x; %y0=y;
%y1=y; %x1=x;
}
 P0           | P1           ;
 MOV R0,#2    | LDR R0,[%y1] ;
 STR R0,[%x0] | MOV R1,#2    ;
 DMB          | STR R1,[%y1] ;
 MOV R1,#1    | LDR R2,[%y1] ;
 STR R1,[%y0] | CMP R2,R2    ;
              | BNE LC00     ;
              | LC00:        ;
              | MOV R3,#1    ;
              | STR R3,[%x1] ;
Observed
    1:R0=1; x=2; y=2;