Search
lxdream.org :: lxdream :: r641:afb9a42c61c6
lxdream 0.9.1
released Jun 29
Download Now
changeset641:afb9a42c61c6
parent640:01b50fd48035
child642:c7383f21f122
authornkeynes
dateMon Feb 25 23:40:10 2008 +0000 (11 years ago)
Remove checkpriv() from STC GBR, Rn (instruction is not privileged)
src/sh4/sh4core.c
src/sh4/sh4core.in
1.1 --- a/src/sh4/sh4core.c Thu Feb 21 06:12:00 2008 +0000
1.2 +++ b/src/sh4/sh4core.c Mon Feb 25 23:40:10 2008 +0000
1.3 @@ -263,7 +263,6 @@
1.4 case 0x1:
1.5 { /* STC GBR, Rn */
1.6 uint32_t Rn = ((ir>>8)&0xF);
1.7 - CHECKPRIV();
1.8 sh4r.r[Rn] = sh4r.gbr;
1.9 }
1.10 break;
2.1 --- a/src/sh4/sh4core.in Thu Feb 21 06:12:00 2008 +0000
2.2 +++ b/src/sh4/sh4core.in Mon Feb 25 23:40:10 2008 +0000
2.3 @@ -931,7 +931,6 @@
2.4 sh4r.r[Rn] = sh4_read_sr();
2.5 :}
2.6 STC GBR, Rn {:
2.7 - CHECKPRIV();
2.8 sh4r.r[Rn] = sh4r.gbr;
2.9 :}
2.10 STC VBR, Rn {:
.