All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Cc: vandung.tran@vn.panasonic.com
Subject: Re: [Qemu-devel] implementation of Vmul instruction in QEMU that seems to be illogical
Date: Mon, 6 Dec 2010 09:22:19 +0000	[thread overview]
Message-ID: <201012060922.20190.paul@codesourcery.com> (raw)
In-Reply-To: <OF5D22D8AB.C05F4024-ON472577F1.00116A33-472577F1.0012BADE@ma.panasonic.com.sg>

> Logically, implementation of Vmull.s32 and vmul.u32 is just similar to the
> 8 and 16 bit cases. For example:
>     case 4: gen_helper_neon_mull_s32(dest, a, b); break;
>     case 5: gen_helper_neon_mull_u32(dest, a, b); break;
> I implemented in this way and tested. It is OK. So I can't understand why
> Vmull.s32 and vmul.u32 were implemented like this in QEMU 0.12.5. Please
> explain for me !

I think you're asking the wrong question. Instead ask yourself why should we 
add a new helper when we already know how to do 32x32->64 multiplies.

Paul

      reply	other threads:[~2010-12-06  9:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-06  3:22 [Qemu-devel] implementation of Vmul instruction in QEMU that seems to be illogical vandung.tran
2010-12-06  9:22 ` Paul Brook [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201012060922.20190.paul@codesourcery.com \
    --to=paul@codesourcery.com \
    --cc=qemu-devel@nongnu.org \
    --cc=vandung.tran@vn.panasonic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.