Hi all!!
Is this data type uint64_t supported in O2, and previous SGI machines?
I'm trying to so something portable across SGI machines, but I´m not sure if this is supported in old machines.
Thanks in advance, guys!!
uint64_t support
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
uint64_t support
__Zacatito__
600 MHZ R14000; 17GBytes HD
__Nopalito__
200 MHZ R5000; 9GBytes HD
Guadalajara, Jal and Aguascalientes, Ags
Mexico

__Nopalito__

Guadalajara, Jal and Aguascalientes, Ags
Mexico
- Martin Steen
- Posts: 159
- Joined: Tue Sep 25, 2007 2:00 am
- Location: Braunschweig (Germany)
- Contact:
Re: uint64_t support
BSDero wrote:Hi all!!
Is this data type uint64_t supported in O2, and previous SGI machines?
I'm trying to so something portable across SGI machines, but I´m not sure if this is supported in old machines.
Thanks in advance, guys!!
If uint64_t is supported depends on the compiler, not on the machine.
If you use uint64_t with a 32-bit-compiler, the 64-bit-arithmetics is
emulated with 32-bit-commands.
- jan-jaap
- Donor
- Posts: 5021
- Joined: Thu Jun 17, 2004 11:35 am
- Location: Wijchen, The Netherlands
- Contact:
Re: uint64_t support
Any CPU since the R4000 can do 64bit arithmetic as long as you use the N32 or 64 ABI.
uint64_t is defined in <inttypes.h> and <sys/types.h>
uint64_t is defined in <inttypes.h> and <sys/types.h>
























To accentuate the special identity of the IRIS 4D/70, Silicon Graphics' designers selected a new color palette. The machine's coating blends dark grey, raspberry and beige colors into a pleasing harmony. (IRIS 4D/70 Superworkstation Technical Report)
Re: uint64_t support
What if I'm building a kernel module using uint64_t in a Fuel/Irix 6.5.30?
It's compatible backwards to, maybe O2 with 6.5.x?? Would it run on this machine?
Will be binary compatibility at kernel/driver level?
Thanks in advance guys
It's compatible backwards to, maybe O2 with 6.5.x?? Would it run on this machine?
Will be binary compatibility at kernel/driver level?
Thanks in advance guys
__Zacatito__
600 MHZ R14000; 17GBytes HD
__Nopalito__
200 MHZ R5000; 9GBytes HD
Guadalajara, Jal and Aguascalientes, Ags
Mexico

__Nopalito__

Guadalajara, Jal and Aguascalientes, Ags
Mexico
- Martin Steen
- Posts: 159
- Joined: Tue Sep 25, 2007 2:00 am
- Location: Braunschweig (Germany)
- Contact:
Re: uint64_t support
BSDero wrote:What if I'm building a kernel module using uint64_t in a Fuel/Irix 6.5.30?
It's compatible backwards to, maybe O2 with 6.5.x?? Would it run on this machine?
Will be binary compatibility at kernel/driver level?
Thanks in advance guys
I have no experience with building kernel modules. Are you building
a 32- or 64-Bit Kernel?
If you use the "-mips4" compiler-flag (I asume you have the MipsPro-compiler),
the generated code uses the full MIPS IV instruction set, which is supported
on R10000, R5000 and R8000 systems. O2 has a R5000, AFAIK.
http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=man&fname=/usr/share/catman/u_man/cat1/cc.z
- jan-jaap
- Donor
- Posts: 5021
- Joined: Thu Jun 17, 2004 11:35 am
- Location: Wijchen, The Netherlands
- Contact:
Re: uint64_t support
There is no binary compatibility. Kernel object code (and modules) is compiled separately for each IPxx family (IP27, IP35, IP32, ...).
Additionally, IP32 (the O2) uses 32bit pointers, the rest is 64bit.
Additionally, IP32 (the O2) uses 32bit pointers, the rest is 64bit.
























To accentuate the special identity of the IRIS 4D/70, Silicon Graphics' designers selected a new color palette. The machine's coating blends dark grey, raspberry and beige colors into a pleasing harmony. (IRIS 4D/70 Superworkstation Technical Report)
Re: uint64_t support
I forgot completely that point about Kernel objects code, but it's true.
Well, i'm cooking something interesting, but I think more work is needed before have something useful.
Thank you guys.
Well, i'm cooking something interesting, but I think more work is needed before have something useful.
Thank you guys.
__Zacatito__
600 MHZ R14000; 17GBytes HD
__Nopalito__
200 MHZ R5000; 9GBytes HD
Guadalajara, Jal and Aguascalientes, Ags
Mexico

__Nopalito__

Guadalajara, Jal and Aguascalientes, Ags
Mexico
Who is online
Users browsing this forum: No registered users and 2 guests