From: Richard Henderson <rth@twiddle.net>
To: Stefan Weil <sw@weilnetz.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] tci: Support deposit operations
Date: Mon, 10 Sep 2012 07:08:28 -0700 [thread overview]
Message-ID: <1347286108.8336.6.camel@pebble.twiddle.home> (raw)
In-Reply-To: <1347113540-32047-1-git-send-email-sw@weilnetz.de>
On Sat, 2012-09-08 at 16:12 +0200, Stefan Weil wrote:
> + tmp16 = *tb_ptr++;
> + tmp8 = *tb_ptr++;
> + tmp32 = (((1 << tmp8) - 1) << tmp16);
> + tci_write_reg32(t0, (t1 & ~tmp32) | ((t2 << tmp16) &
> tmp32));
Use the deposit* functions from bitops.h?
r~
next prev parent reply other threads:[~2012-09-10 14:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-08 14:12 [Qemu-devel] [PATCH] tci: Support deposit operations Stefan Weil
2012-09-10 14:08 ` Richard Henderson [this message]
2012-09-14 19:12 ` Stefan Weil
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=1347286108.8336.6.camel@pebble.twiddle.home \
--to=rth@twiddle.net \
--cc=qemu-devel@nongnu.org \
--cc=sw@weilnetz.de \
/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).