linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Maciej Hrebien <m_hrebien@wp.pl>
To: linux-assembly@vger.kernel.org
Subject: Re: paddw vs paddb
Date: Sat, 25 Dec 2004 11:40:42 +0100	[thread overview]
Message-ID: <41CD43AA.B89C81AD@wp.pl> (raw)
In-Reply-To: 20041225072142.80563.qmail@web52908.mail.yahoo.com

Ankit Jain wrote:
> 
> thanks
> 
> but if u can solve one more problem
> 
> 'a' is uint8_t type and i want to extract only 4 int
> and store it as a word in mmx register
> 
> i am not able to understand that because movq is
> extracting 8 bytes at a time.
> 
> actually the problem is overflow. saturation is not
> tht helpfull

I don't know if i understand your question right but for
32-bit transfers (4 bytes) you have MOVD instruction.

-- 
Maciej Hrebien


  reply	other threads:[~2004-12-25 10:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-23 10:59 paddw vs paddb Ankit Jain
2004-12-24  9:01 ` Maciej Hrebien
2004-12-25  7:21   ` Ankit Jain
2004-12-25 10:40     ` Maciej Hrebien [this message]
2004-12-29 12:12       ` Ankit Jain
2004-12-29 22:40         ` Maciej Hrebien

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=41CD43AA.B89C81AD@wp.pl \
    --to=m_hrebien@wp.pl \
    --cc=linux-assembly@vger.kernel.org \
    /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 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).