summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2010-10-27 17:14:48 +0100
committerDavid Schleef <ds@schleef.org>2010-10-27 17:15:21 +0100
commit3936ea757082b8772cb3a56dd289751ac4de9205 (patch)
tree13d7e70b711c4c44b9e7ec5a021d6665680b59cb /examples
parent307c4d6e0d52cffd709770cba6e4b1e0fb812d24 (diff)
sse: convert to using orc_sse_emit_sysinsn
Diffstat (limited to 'examples')
-rw-r--r--examples/volscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/volscale.c b/examples/volscale.c
index c8dac72..a5952fa 100644
--- a/examples/volscale.c
+++ b/examples/volscale.c
@@ -55,7 +55,7 @@ sse_rule_mulhslw (OrcCompiler *p, void *user, OrcInstruction *insn)
orc_sse_emit_movdqa (p, src2, tmp2);
orc_sse_emit_pmulhw (p, src1, src2); /* .. | 0 | vl*p0 | */
orc_sse_emit_paddw (p, tmp1, src2); /* .. | 0 | vl*p0 | + sign correct */
- orc_sse_emit_psrld (p, 16, dest); /* .. | 0 | vh | */
+ orc_sse_emit_psrld_imm (p, 16, dest); /* .. | 0 | vh | */
orc_sse_emit_pmaddwd (p, tmp2, dest); /* .. | p0 * vh | */
orc_sse_emit_paddd (p, src2, dest); /* .. | p0 * v0 | */
}