From: "Pierre Mallard" <pierremallard@yahoo.fr>
To: Momchil Velikov <velco@fadata.bg>
Cc: gcc@gcc.gnu.org
Subject: Re: divmod , division+modulo problem in rtl
Date: Wed, 16 Oct 2002 07:32:00 -0000 [thread overview]
Message-ID: <20021016120149.71794.qmail@web20309.mail.yahoo.com> (raw)
In-Reply-To: <8765w5rse9.fsf@fadata.bg>
-gcc-3.0.4, c language-
Hi and thanks a lot.
I did not get any better things after having change
those few lines.
Anyway ok I just leave it now for catching div and mod
the same time..
But the problem I got here right now is the matching
of a divmodqi4 describe in a define_expand:
My word are define as being 16 bits long same as for
my char whereas my int are 32 bits long.
when I do
char a,b,c;
c=a/b
I can't make gcc understand I need divmodqi4 and not
divmodhi4..
Gcc is always passing throw divmodhi4 and never in
divmodqi4...
I'm really disappointed think I may have missed
something cause lots of different proc implements
divmodqi4 especially avr one which as approximately
the same definition as me for the words , char and int
except it's twice less...
In my configuration divmodqi4 dosn't look as it can be
match once...
Pierre
--- Momchil Velikov <velco@fadata.bg> a écrit : >
>>>>> "Pierre" == Pierre Mallard
> <pierremallard@yahoo.fr> writes:
>
> Pierre> Hi,
> Pierre> I need someone's help to output a single
> operation for
> Pierre> an operation such as a (div a b)+(mod a b)
> in c
> Pierre> language only...
>
> See if this patch will help
>
http://gcc.gnu.org/ml/gcc-patches/2002-07/msg01207.html
>
> Pierre> 2)And if u got any idea how a Signed Qi
> division can
> Pierre> be handle by a Qi signed division ... let me
> just show
> It can't, in C at least.
>
> ~velco
>
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
next prev parent reply other threads:[~2002-10-16 12:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-14 9:14 Pierre Mallard
2002-10-14 9:16 ` Momchil Velikov
2002-10-16 7:31 ` Pierre Mallard
2002-10-16 7:32 ` Pierre Mallard [this message]
2002-10-16 7:37 ` Char as long as one Word , Int twice a Word Pierre Mallard
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=20021016120149.71794.qmail@web20309.mail.yahoo.com \
--to=pierremallard@yahoo.fr \
--cc=gcc@gcc.gnu.org \
--cc=velco@fadata.bg \
/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).