* [Qemu-devel] [PATCH][ARM] Fix for dual signed mul
@ 2008-06-23 17:22 Laurent Desnogues
0 siblings, 0 replies; only message in thread
From: Laurent Desnogues @ 2008-06-23 17:22 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 118 bytes --]
Title says it all.
Some other problems exist in v6 instructions since FFmpeg still
doesn't work correctly.
Laurent
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: arm-dual-smul.patch --]
[-- Type: text/x-patch; name=arm-dual-smul.patch, Size: 445 bytes --]
--- svn-ref/target-arm/translate.c 2008-06-07 13:59:11.000000000 +0200
+++ svn/target-arm/translate.c 2008-06-23 19:13:15.000000000 +0200
@@ -247,8 +247,8 @@
{
TCGv tmp1 = new_tmp();
TCGv tmp2 = new_tmp();
- tcg_gen_ext8s_i32(tmp1, a);
- tcg_gen_ext8s_i32(tmp2, b);
+ tcg_gen_ext16s_i32(tmp1, a);
+ tcg_gen_ext16s_i32(tmp2, b);
tcg_gen_mul_i32(tmp1, tmp1, tmp2);
dead_tmp(tmp2);
tcg_gen_sari_i32(a, a, 16);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-23 17:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-23 17:22 [Qemu-devel] [PATCH][ARM] Fix for dual signed mul Laurent Desnogues
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).