This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Char as long as one Word , Int twice a Word


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]