From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,8a9793fe3e2e8e1b,start X-Google-Attributes: gid111c93,public From: "Christian Hilm" Subject: __divq, __remq, etc. Date: 2000/03/17 Message-ID: #1/1 X-Deja-AN: 598668582 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Complaints-To: abuse@get2.net X-Trace: news.get2net.dk 953281518 195.47.139.111 (Fri, 17 Mar 2000 09:25:18 MET) Organization: get2net Internet Kunde X-MSMail-Priority: Normal NNTP-Posting-Date: Fri, 17 Mar 2000 09:25:18 MET Newsgroups: comp.os.linux.alpha 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!