Commit db7f006f authored by Edward Hervey's avatar Edward Hervey 🤘 Committed by Edward Hervey

orc: Remove dead assignments

All those temporary registry were not used and instead were being
assigned constant values.
parent 65b69ae5
...@@ -2024,7 +2024,7 @@ mmx_rule_maxuw_slow (OrcCompiler *p, void *user, OrcInstruction *insn) ...@@ -2024,7 +2024,7 @@ mmx_rule_maxuw_slow (OrcCompiler *p, void *user, OrcInstruction *insn)
{ {
int src = p->vars[insn->src_args[1]].alloc; int src = p->vars[insn->src_args[1]].alloc;
int dest = p->vars[insn->dest_args[0]].alloc; int dest = p->vars[insn->dest_args[0]].alloc;
int tmp = orc_compiler_get_temp_reg (p); int tmp;
tmp = orc_compiler_get_constant (p, 2, 0x8000); tmp = orc_compiler_get_constant (p, 2, 0x8000);
orc_mmx_emit_pxor(p, tmp, src); orc_mmx_emit_pxor(p, tmp, src);
...@@ -2221,7 +2221,7 @@ mmx_rule_addssl_slow (OrcCompiler *p, void *user, OrcInstruction *insn) ...@@ -2221,7 +2221,7 @@ mmx_rule_addssl_slow (OrcCompiler *p, void *user, OrcInstruction *insn)
{ {
int src = p->vars[insn->src_args[1]].alloc; int src = p->vars[insn->src_args[1]].alloc;
int dest = p->vars[insn->dest_args[0]].alloc; int dest = p->vars[insn->dest_args[0]].alloc;
int tmp = orc_compiler_get_temp_reg (p); int tmp;
#if 0 #if 0
int tmp2 = orc_compiler_get_temp_reg (p); int tmp2 = orc_compiler_get_temp_reg (p);
int tmp3 = orc_compiler_get_temp_reg (p); int tmp3 = orc_compiler_get_temp_reg (p);
...@@ -2301,7 +2301,7 @@ mmx_rule_subssl_slow (OrcCompiler *p, void *user, OrcInstruction *insn) ...@@ -2301,7 +2301,7 @@ mmx_rule_subssl_slow (OrcCompiler *p, void *user, OrcInstruction *insn)
{ {
int src = p->vars[insn->src_args[1]].alloc; int src = p->vars[insn->src_args[1]].alloc;
int dest = p->vars[insn->dest_args[0]].alloc; int dest = p->vars[insn->dest_args[0]].alloc;
int tmp = orc_compiler_get_temp_reg (p); int tmp;
int tmp2 = orc_compiler_get_temp_reg (p); int tmp2 = orc_compiler_get_temp_reg (p);
int tmp3 = orc_compiler_get_temp_reg (p); int tmp3 = orc_compiler_get_temp_reg (p);
......
...@@ -2069,7 +2069,7 @@ sse_rule_maxuw_slow (OrcCompiler *p, void *user, OrcInstruction *insn) ...@@ -2069,7 +2069,7 @@ sse_rule_maxuw_slow (OrcCompiler *p, void *user, OrcInstruction *insn)
{ {
int src = p->vars[insn->src_args[1]].alloc; int src = p->vars[insn->src_args[1]].alloc;
int dest = p->vars[insn->dest_args[0]].alloc; int dest = p->vars[insn->dest_args[0]].alloc;
int tmp = orc_compiler_get_temp_reg (p); int tmp;
tmp = orc_compiler_get_constant (p, 2, 0x8000); tmp = orc_compiler_get_constant (p, 2, 0x8000);
orc_sse_emit_pxor(p, tmp, src); orc_sse_emit_pxor(p, tmp, src);
...@@ -2266,7 +2266,7 @@ sse_rule_addssl_slow (OrcCompiler *p, void *user, OrcInstruction *insn) ...@@ -2266,7 +2266,7 @@ sse_rule_addssl_slow (OrcCompiler *p, void *user, OrcInstruction *insn)
{ {
int src = p->vars[insn->src_args[1]].alloc; int src = p->vars[insn->src_args[1]].alloc;
int dest = p->vars[insn->dest_args[0]].alloc; int dest = p->vars[insn->dest_args[0]].alloc;
int tmp = orc_compiler_get_temp_reg (p); int tmp;
#if 0 #if 0
int tmp2 = orc_compiler_get_temp_reg (p); int tmp2 = orc_compiler_get_temp_reg (p);
int tmp3 = orc_compiler_get_temp_reg (p); int tmp3 = orc_compiler_get_temp_reg (p);
...@@ -2346,7 +2346,7 @@ sse_rule_subssl_slow (OrcCompiler *p, void *user, OrcInstruction *insn) ...@@ -2346,7 +2346,7 @@ sse_rule_subssl_slow (OrcCompiler *p, void *user, OrcInstruction *insn)
{ {
int src = p->vars[insn->src_args[1]].alloc; int src = p->vars[insn->src_args[1]].alloc;
int dest = p->vars[insn->dest_args[0]].alloc; int dest = p->vars[insn->dest_args[0]].alloc;
int tmp = orc_compiler_get_temp_reg (p); int tmp;
int tmp2 = orc_compiler_get_temp_reg (p); int tmp2 = orc_compiler_get_temp_reg (p);
int tmp3 = orc_compiler_get_temp_reg (p); int tmp3 = orc_compiler_get_temp_reg (p);
......
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