projects
/
platform
/
upstream
/
orc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2e6e98
)
neon: fix vmvn usage
author
David Schleef
<ds@schleef.org>
Wed, 8 Jul 2009 04:45:08 +0000
(21:45 -0700)
committer
David Schleef
<ds@schleef.org>
Wed, 8 Jul 2009 04:45:08 +0000
(21:45 -0700)
orc/orcrules-neon.c
patch
|
blob
|
history
diff --git
a/orc/orcrules-neon.c
b/orc/orcrules-neon.c
index
b1feec5
..
63b467e
100644
(file)
--- a/
orc/orcrules-neon.c
+++ b/
orc/orcrules-neon.c
@@
-573,7
+573,7
@@
orc_neon_emit_loadiw (OrcCompiler *compiler, int reg, int value)
if (value < 0) {
neg = TRUE;
- value =
-
value;
+ value =
~
value;
}
shift = orc_neon_get_const_shift (value);
if ((value & (0xff<<shift)) == value) {
@@
-628,7
+628,7
@@
orc_neon_emit_loadil (OrcCompiler *compiler, int reg, int value)
if (value < 0) {
neg = TRUE;
- value =
-
value;
+ value =
~
value;
}
shift = orc_neon_get_const_shift (value);
if ((value & (0xff<<shift)) == value) {