Commit 6c82905e authored by Christoph Mallon's avatar Christoph Mallon
Browse files

ia32: Handle the 'k' asm operand modifier.

parent 8d86f274
......@@ -893,6 +893,7 @@ static void emit_ia32_asm_register(const arch_register_t *reg, char modifier,
case 'b': name = get_register_name_8bit_low(reg); break;
case 'h': name = get_register_name_8bit_high(reg); break;
case 'w': name = get_register_name_16bit(reg); break;
case 'k': name = reg->name; break;
panic("invalid asm op modifier");
......@@ -576,6 +576,7 @@ static const char* emit_asm_operand(const ir_node *node,
case 'w':
case 'b':
case 'h':
case 'k':
modifier = c;
Markdown is supported
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