From: Ulrich Drepper <drepper@cygnus.com>
To: Jakub Jelinek <jakub@redhat.com>
Cc: libc-hacker@sourceware.cygnus.com
Subject: Re: [PATCH] shut up warnings in bits/string2.h
Date: Wed, 08 Dec 1999 00:34:00 -0000 [thread overview]
Message-ID: <m3yab5suij.fsf@localhost.localnet> (raw)
In-Reply-To: <19991208092350.A545@mff.cuni.cz>
Jakub Jelinek <jakub@redhat.com> writes:
> All the inlines where I changed this are invoked from macros which guard it
> by something like this:
> __builtin_constant_p (n) && (n) <= 16
Yep.
> gets compiled with -O2 -m32 by gcc 2.96 (but similarly by egcs 1.1.2) into:
> foo: save %sp, -224, %sp
> sethi %hi(.LLC0+1), %o0
> or %o0, %lo(.LLC0+1), %o0
> add %o0, -1, %o5
> sub %o0, %o5, %o0
> cmp %o0, 1
> bne .LL145
> mov %i0, %o0
> mov 115, %o1
> [...]
This certainly is a SPARC problem. Maybe some other platform, but not
x86 and presumably not m68k.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
next prev parent reply other threads:[~1999-12-08 0:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-07 13:02 Jakub Jelinek
1999-12-07 18:41 ` Richard Henderson
1999-12-07 23:41 ` Ulrich Drepper
1999-12-08 0:22 ` Jakub Jelinek
1999-12-08 0:34 ` Ulrich Drepper [this message]
1999-12-08 7:56 ` Jakub Jelinek
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=m3yab5suij.fsf@localhost.localnet \
--to=drepper@cygnus.com \
--cc=jakub@redhat.com \
--cc=libc-hacker@sourceware.cygnus.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 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 read-only IMAP folder(s) and NNTP newsgroup(s).