Correctly emit constants in some ALU instructions.
--HG-- branch : dtrg-videocore
This commit is contained in:
parent
a46ee91859
commit
80f85001fa
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ void alu_instr_lit(quad op, int cc, int rd, int ra, quad value)
|
|||
|
||||
/* 32 bit medium form? */
|
||||
|
||||
if (value >= 0x1f)
|
||||
if (value <= 0x1f)
|
||||
{
|
||||
emit2(B16(11000000,00000000) | (op<<5) | (rd<<0));
|
||||
emit2(B16(00000000,01000000) | (ra<<11) | (cc<<7) | (value<<0));
|
||||
|
|
Loading…
Reference in a new issue