Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "Christian Hilm" <chilm@get2net.dk>
Subject: __divq, __remq, etc.
Date: 2000/03/17	[thread overview]
Message-ID: <OZlA4.53$Fe3.1252@news.get2net.dk> (raw)

Hi.
As second year students of Department of Computer Science at University of
Copenhagen, my project group and I are currently required to write a
(primitive) kernel for AlphaPC 164SX. We are using g++ and Alpha-assembler
as tools, and we have written our own division routine which works fine, but
we would like to avoid using it like this: div (25, 5). It would be better
if we were able to use the standard notation, that is, 25 / 5 and similarly
25 % 5 for modulus. I think what we are looking for is the return and
parameter types for  __divq, and __remq, etc. so that we can make these
functions (which the compiler is looking for) in order to avoid linker
errors.
Any help would be appreciated,
Christian.

P.S. Hope this is the right forum for this, otherwise: sorry!





                 reply	other threads:[~2000-03-17  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox