Commit 45f443c3 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

amd64: Print the immediate shift amount in decimal.

The number is small and never a bitmask, so decimal is more readable in this case.
parent be1637fa
......@@ -311,7 +311,7 @@ static void emit_shiftop(const ir_node *const node)
switch (attr->base.op_mode) {
case AMD64_OP_SHIFT_IMM: {
be_emit_irprintf("$0x%X, ", attr->immediate);
be_emit_irprintf("$%u, ", attr->immediate);
const arch_register_t *reg = arch_get_irn_register_in(node, 0);
emit_register_mode(reg, attr->base.size);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment