public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Georg-Johann Lay <avr@gjlay.de>
To: Richard Henderson <rth@redhat.com>
Cc: gcc-patches@gcc.gnu.org, Denis Chertykov <chertykov@gmail.com>,
	 "Eric B. Weddington" <eric.weddington@atmel.com>,
	Anatoly Sokolov <aesok@post.ru>
Subject: Re: [Patch, AVR]: PR49313, fix PR29524
Date: Fri, 17 Jun 2011 17:32:00 -0000	[thread overview]
Message-ID: <4DFB77EC.1000000@gjlay.de> (raw)
In-Reply-To: <4DFB73FC.2030400@redhat.com>

Richard Henderson schrieb:
> On 06/17/2011 02:20 AM, Georg-Johann Lay wrote:
>> Richard Henderson schrieb:
>>> On 06/15/2011 02:47 AM, Georg-Johann Lay wrote:
>>
>> Yes, you are right. Following patchlet ok?
>>
>> Johann
>>
>> 	* config/avr/libgcc.S (__ctzsi2, __ctzhi2):
>> 	Map zero to 255.
> 
> You'd also delete the COUNT_LEADING_ZEROS_0 definition in longlong.h.
> 
> r~

__clzsi2(0) still returns 32 as it does not use ctz. So if
implementation of ctz affects validity of COUNT_LEADING_ZEROS_0 that's
bit confusing...

Johann


  reply	other threads:[~2011-06-17 15:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-16  6:53 Georg-Johann Lay
2011-06-15 10:46 ` Denis Chertykov
2011-06-15 11:59   ` Georg-Johann Lay
2011-06-16 10:00   ` Georg-Johann Lay
2011-06-16 19:17 ` Richard Henderson
2011-06-17  9:41   ` Georg-Johann Lay
2011-06-17 17:26     ` Richard Henderson
2011-06-17 17:32       ` Georg-Johann Lay [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-06-16  6:49 Georg-Johann Lay
2011-06-16  9:39 ` Ian Lance Taylor

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=4DFB77EC.1000000@gjlay.de \
    --to=avr@gjlay.de \
    --cc=aesok@post.ru \
    --cc=chertykov@gmail.com \
    --cc=eric.weddington@atmel.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=rth@redhat.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).