projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b7936c3
)
Fix printing shift amount for ARM mov.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 24 Jun 2008 17:38:43 +0000
(17:38 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 24 Jun 2008 17:38:43 +0000
(17:38 +0000)
[r20244]
ir/be/arm/arm_emitter.c
patch
|
blob
|
history
diff --git
a/ir/be/arm/arm_emitter.c
b/ir/be/arm/arm_emitter.c
index
7405e6d
..
7c7b809
100644
(file)
--- a/
ir/be/arm/arm_emitter.c
+++ b/
ir/be/arm/arm_emitter.c
@@
-241,9
+241,9
@@
void arm_emit_shift(const ir_node *node) {
mod = get_arm_shift_modifier(node);
if (ARM_HAS_SHIFT(mod)) {
mod = get_arm_shift_modifier(node);
if (ARM_HAS_SHIFT(mod)) {
-
long
v = get_arm_imm_value(node);
+
int
v = get_arm_imm_value(node);
- be_emit_irprintf(", %s #%
l
", arm_shf_mod_name(mod), v);
+ be_emit_irprintf(", %s #%
d
", arm_shf_mod_name(mod), v);
}
}
}
}