public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a46ee91
)
Correctly emit constants in some ALU instructions.
author
David Given
<dg@cowlark.com>
Sun, 19 May 2013 22:19:10 +0000
(23:19 +0100)
committer
David Given
<dg@cowlark.com>
Sun, 19 May 2013 22:19:10 +0000
(23:19 +0100)
--HG--
branch : dtrg-videocore
mach/vc4/as/mach5.c
patch
|
blob
|
history
diff --git
a/mach/vc4/as/mach5.c
b/mach/vc4/as/mach5.c
index
768d2ea
..
056a8b7
100644
(file)
--- a/
mach/vc4/as/mach5.c
+++ b/
mach/vc4/as/mach5.c
@@
-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));