public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Pierre Mallard" <pierremallard@yahoo.fr>
To: Momchil Velikov <velco@fadata.bg>
Cc: gcc@gcc.gnu.org
Subject: Char as long as one Word , Int twice a Word
Date: Wed, 16 Oct 2002 07:37:00 -0000	[thread overview]
Message-ID: <20021016123252.55330.qmail@web20310.mail.yahoo.com> (raw)
In-Reply-To: <8765w5rse9.fsf@fadata.bg>

I've tryed to define a int as long as one word on my
proc, and then automatically char is well computed...
So if my register are 16 bits long I'm forced to
define int as 16 and not 32 as I wanted first, to
solve the problem of having my char div being computed
as an int div...

Do u know if it's possible to turn of this behaviour
in gcc (make a signed char op being cast in int op)
when int are twice a register ?

 --- 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

      parent reply	other threads:[~2002-10-16 12:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-14  9:14 divmod , division+modulo problem in rtl Pierre Mallard
2002-10-14  9:16 ` Momchil Velikov
2002-10-16  7:31   ` Pierre Mallard
2002-10-16  7:32   ` Pierre Mallard
2002-10-16  7:37   ` Pierre Mallard [this message]

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=20021016123252.55330.qmail@web20310.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).