From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14780 invoked by alias); 16 Oct 2002 12:32:54 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 14761 invoked from network); 16 Oct 2002 12:32:53 -0000 Received: from unknown (HELO web20310.mail.yahoo.com) (216.136.226.91) by sources.redhat.com with SMTP; 16 Oct 2002 12:32:53 -0000 Message-ID: <20021016123252.55330.qmail@web20310.mail.yahoo.com> Received: from [213.44.243.18] by web20310.mail.yahoo.com via HTTP; Wed, 16 Oct 2002 14:32:52 CEST Date: Wed, 16 Oct 2002 07:37:00 -0000 From: =?iso-8859-1?q?Pierre=20Mallard?= Subject: Char as long as one Word , Int twice a Word To: Momchil Velikov Cc: gcc@gcc.gnu.org In-Reply-To: <8765w5rse9.fsf@fadata.bg> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2002-10/txt/msg00944.txt.bz2 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 a écrit : > >>>>> "Pierre" == Pierre Mallard > 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