5l: ROR instruction
This commit is contained in:
parent
752ba45fbf
commit
49cd794fbd
3 changed files with 3 additions and 0 deletions
|
@ -1522,6 +1522,7 @@ oprrr(int a, int sc)
|
|||
case ASLL: return o | (0xd<<21) | (0<<5);
|
||||
case ASRL: return o | (0xd<<21) | (1<<5);
|
||||
case ASRA: return o | (0xd<<21) | (2<<5);
|
||||
case AROR: return o | (0xd<<21) | (3<<5);
|
||||
case ASWI: return o | (0xf<<24);
|
||||
|
||||
/* old arm 7500 fp using coproc 1 (1<<8) */
|
||||
|
|
|
@ -288,6 +288,7 @@ regused(Sch *s, Prog *realp)
|
|||
case ASLL:
|
||||
case ASRA:
|
||||
case ASRL:
|
||||
case AROR:
|
||||
case ASUB:
|
||||
case AEOR:
|
||||
|
||||
|
|
|
@ -726,6 +726,7 @@ buildop(void)
|
|||
case ASLL:
|
||||
oprange[ASRL] = oprange[r];
|
||||
oprange[ASRA] = oprange[r];
|
||||
oprange[AROR] = oprange[r];
|
||||
break;
|
||||
case AMUL:
|
||||
oprange[AMULU] = oprange[r];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue