Commit 257aea31 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

sparc: Rename nodes to match the spelling of the assembler.

Mul       -> SMul
MulCCZero -> SMulCCZero
parent ac89f32b
......@@ -637,12 +637,12 @@ XNorCCZero => {
emit => "xnorcc %S0, %SI1, %%g0",
},
Mul => {
SMul => {
template => $binop_operand,
emit => "smul %S0, %SI1, %D0",
},
MulCCZero => {
SMulCCZero => {
template => $binopcczero_operand,
emit => "smulcc %S0, %SI1, %%g0",
},
......
......@@ -902,7 +902,7 @@ static ir_node *gen_Mul(ir_node *node)
}
return gen_helper_binop(node, MATCH_COMMUTATIVE | MATCH_MODE_NEUTRAL,
new_bd_sparc_Mul_reg, new_bd_sparc_Mul_imm);
new_bd_sparc_SMul_reg, new_bd_sparc_SMul_imm);
}
/**
......@@ -1322,8 +1322,8 @@ static ir_node *gen_Cmp(ir_node *node)
return new_node;
} else if (is_Mul(op1)) {
ir_node *new_node = gen_helper_binop(op1, MATCH_COMMUTATIVE,
new_bd_sparc_MulCCZero_reg,
new_bd_sparc_MulCCZero_imm);
new_bd_sparc_SMulCCZero_reg,
new_bd_sparc_SMulCCZero_imm);
arch_set_irn_register(new_node, &sparc_registers[REG_PSR]);
return new_node;
}
......
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