Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #1879

64 bit unsigned ints for 'Acorn' compiler?

From Jim Lesurf <jcgl@audiomisc.co.uk>
Subject 64 bit unsigned ints for 'Acorn' compiler?
Newsgroups comp.sys.acorn.programmer
Date 2012-07-05 13:51 +0100
Message-ID <52aa84d885jcgl@audiomisc.co.uk> (permalink)
Organization None

Show all headers | View raw


Hi,

I'm currently trying to write a 'decoder' for HDCD. As usual for me, I've
been doing this first using the 'Norcroft'/Acorn 'C' compiler. The idea
being that once I'd got that running I'd do another version with gcc for
Linux. Normally, this works fine, but I've run into a snag...

Part of the bit-bashing requires some bit patterns to be compared against a
'window' that is 64 bits long and the results brought together. In the
example I've seen for MS this uses a uint64_t which I assume is an unsigned
int 64 bits long. The snag is that - so far as I know - the 'Acorn'
compiler doesn't include 64bit long ints. (Or am I wrong?)

Is there an easy fix for this?

if not I'll give up and switch to gcc for Linux, then maybe learn to use
gcc instead on RO for this project. But if possible I'd prefer a fix that
lets me define and use 64 bit unsigned ints with the 'Acorn' compiler.

I can give more details of the specific task if people wish.

Slainte,

Jim

-- 
Electronics  http://www.st-and.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
Armstrong Audio  http://www.audiomisc.co.uk/Armstrong/armstrong.html
Audio Misc  http://www.audiomisc.co.uk/index.html

Back to comp.sys.acorn.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

64 bit unsigned ints for 'Acorn' compiler? Jim Lesurf <jcgl@audiomisc.co.uk> - 2012-07-05 13:51 +0100
  Re: 64 bit unsigned ints for 'Acorn' compiler? John Tytgat <this@is.invalid> - 2012-07-05 15:06 +0200
    Re: 64 bit unsigned ints for 'Acorn' compiler? Jim Lesurf <jcgl@audiomisc.co.uk> - 2012-07-05 16:11 +0100
      Re: 64 bit unsigned ints for 'Acorn' compiler? Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-07-05 18:31 +0100
        Re: 64 bit unsigned ints for 'Acorn' compiler? Jim Lesurf <jcgl@audiomisc.co.uk> - 2012-07-06 09:36 +0100
          Re: 64 bit unsigned ints for 'Acorn' compiler? Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-07-06 11:26 +0100
          Re: 64 bit unsigned ints for 'Acorn' compiler? druck <news@druck.org.uk> - 2012-07-07 23:44 +0100
            Re: 64 bit unsigned ints for 'Acorn' compiler? Jim Lesurf <jcgl@audiomisc.co.uk> - 2012-07-08 09:30 +0100
              Re: 64 bit unsigned ints for 'Acorn' compiler? "Ste (news)" <steve@revi11.plus.com> - 2012-07-09 23:53 +0100
                Re: 64 bit unsigned ints for 'Acorn' compiler? Jim Lesurf <jcgl@audiomisc.co.uk> - 2012-07-10 09:32 +0100
                Re: 64 bit unsigned ints for 'Acorn' compiler? Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-07-10 12:37 +0100
                Re: 64 bit unsigned ints for 'Acorn' compiler? Jim Lesurf <jcgl@audiomisc.co.uk> - 2012-07-10 14:10 +0100
                Re: 64 bit unsigned ints for 'Acorn' compiler? Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-07-10 16:58 +0100
                Re: 64 bit unsigned ints for 'Acorn' compiler? Frank de Bruijn <zuiderduin@hotmail.com> - 2012-07-11 08:26 +0200
                Re: 64 bit unsigned ints for 'Acorn' compiler? Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-07-11 09:48 +0100
                Re: 64 bit unsigned ints for 'Acorn' compiler? "Ste (news)" <steve@revi11.plus.com> - 2012-07-12 23:15 +0100
                Re: 64 bit unsigned ints for 'Acorn' compiler? Jim Lesurf <jcgl@audiomisc.co.uk> - 2012-07-19 12:35 +0100
  Re: 64 bit unsigned ints for 'Acorn' compiler? Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-07-05 15:15 +0100
  Re: 64 bit unsigned ints for 'Acorn' compiler? Jim Lesurf <jcgl@audiomisc.co.uk> - 2012-07-06 16:49 +0100

csiph-web