BINARY(xorq,"pxor",0xef)
BINARY(cmpeqq,"pcmpeqq",0x3829)
BINARY(cmpgtsq,"pcmpgtq",0x3837)
+
+#ifndef MMX
BINARY(addq,"paddq",0xd4)
BINARY(subq,"psubq",0xfb)
+#endif
static void
mmx_rule_accw (OrcCompiler *p, void *user, OrcInstruction *insn)
REG(andnq);
REG(orq);
REG(xorq);
- REG(addq);
- REG(subq);
REG(select0lw);
REG(select1lw);
orc_rule_register (rule_set, "accsadubl", mmx_rule_accsadubl, NULL);
#ifndef MMX
+ REG(addq);
+ REG(subq);
+
orc_rule_register (rule_set, "addf", mmx_rule_addf, NULL);
orc_rule_register (rule_set, "subf", mmx_rule_subf, NULL);
orc_rule_register (rule_set, "mulf", mmx_rule_mulf, NULL);
BINARY(xorq,"pxor",0xef)
BINARY(cmpeqq,"pcmpeqq",0x3829)
BINARY(cmpgtsq,"pcmpgtq",0x3837)
+
+#ifndef MMX
BINARY(addq,"paddq",0xd4)
BINARY(subq,"psubq",0xfb)
+#endif
static void
sse_rule_accw (OrcCompiler *p, void *user, OrcInstruction *insn)
REG(andnq);
REG(orq);
REG(xorq);
- REG(addq);
- REG(subq);
REG(select0lw);
REG(select1lw);
orc_rule_register (rule_set, "accsadubl", sse_rule_accsadubl, NULL);
#ifndef MMX
+ REG(addq);
+ REG(subq);
+
orc_rule_register (rule_set, "addf", sse_rule_addf, NULL);
orc_rule_register (rule_set, "subf", sse_rule_subf, NULL);
orc_rule_register (rule_set, "mulf", sse_rule_mulf, NULL);