Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jan 2002 13:21:41 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        "Matthew D. Fuller" <fullermd@over-yonder.net>, freebsd-hackers@FreeBSD.org, Stephen Montgomery-Smith <stephen@math.missouri.edu>
Subject:   Re: Tell gcc I have a i686
Message-ID:  <XFMail.020107132141.jhb@FreeBSD.org>
In-Reply-To: <XFMail.020107131402.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 07-Jan-02 John Baldwin wrote:
> Ok.  This isn't 686 specific at all.  However, one optimization might be to
> get rid of the xorl, and use 'addl' for the first instruction instead of
> adcl. 
> Anyways, If I were you, I would do it via a series of rcl (rotate through
> carry
> left, it shits in the carry flag instead of 0), thus I would do:

Erm, it shifts in the carry flag.  CPU's usually don't go around abusing their
flags like that. :-P

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.020107132141.jhb>