LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: etienne_lorrain@yahoo.fr (Etienne Lorrain)
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] change name of rep_nop
Date: Tue, 9 Oct 2001 12:30:39 +0100 (BST) [thread overview]
Message-ID: <E15qv5s-0003oy-00@the-village.bc.nu> (raw)
In-Reply-To: <20011009085140.85739.qmail@web11801.mail.yahoo.com> from "=?iso-8859-1?q?Etienne=20Lorrain?=" at Oct 09, 2001 10:51:40 AM
> Hello,
> > __asm__ __volatile__("rep;nop");
>
> "The behavior of the REP prefix is undefined when used with non-string
> instructions." page 3-404 of Intel documentation, in "CHAPTER 3,
> INSTRUCTION SET REFERENCE"...
>
> How about: __asm__ __volatile__("loop ." : "+c" (nbloop)); ?
rep nop is a magic instruction to powersave momentarily on the Pentium 4.
It happens to be a true nop on the older processors
next prev parent reply other threads:[~2001-10-09 11:25 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-09 8:51 Etienne Lorrain
2001-10-09 11:30 ` Alan Cox [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-10-05 10:46 Paul Mackerras
2001-10-05 14:37 ` Alan Cox
2001-10-05 18:06 ` Peter Rival
2001-10-05 23:28 ` Paul Mackerras
2001-10-05 23:54 ` Martin J. Bligh
2001-10-06 1:40 ` Paul Mackerras
2001-10-08 19:27 ` Peter Rival
2001-10-08 22:36 ` David Woodhouse
2001-10-08 22:49 ` Alan Cox
2001-10-08 23:06 ` David Woodhouse
2001-10-08 23:42 ` David Woodhouse
2001-10-08 23:46 ` David S. Miller
2001-10-08 23:08 ` David S. Miller
2001-10-08 23:46 ` Linus Torvalds
2001-10-09 0:03 ` David Woodhouse
2001-10-08 22:46 ` David S. Miller
2001-10-08 23:16 ` Alan Cox
2001-10-08 23:24 ` Dave Jones
2001-10-08 23:33 ` Alan Cox
2001-10-09 5:01 ` George Greer
2001-10-08 23:30 ` David S. Miller
2001-10-09 10:33 ` Benjamin Herrenschmidt
2001-10-09 11:30 ` Keith Owens
2001-10-09 12:13 ` Benjamin Herrenschmidt
2001-10-09 12:15 ` Alan Cox
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=E15qv5s-0003oy-00@the-village.bc.nu \
--to=alan@lxorguk.ukuu.org.uk \
--cc=etienne_lorrain@yahoo.fr \
--cc=linux-kernel@vger.kernel.org \
--subject='Re: [PATCH] change name of rep_nop' \
/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
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).