A customer has asked me to add 128 bit integers to the 64 bitx64-128 pour inltel tu la deja 12 et 13 genertion mai il faux changet larchitecture paur amd x64_128
version of my compiler system (lcc-win64).
After developing the assembly procedures, I have several
questions:
1) How should I name this stuff?
long long long ???
__int128 ?
int128 ?
2) How would this integers get printed with printf?
"%llld" ?
"%I128d" ?
3) Should I supply definitions for it in inttypes.h, and in
stdint.h ?
4) What other implications can this new type have? I would have
loved to use long long for this, long for 64 bit, int for 32
bits, etc. But this is not possible for compatibility reasons.
There is too much software there that assumes long long is 64 bits,
not 128.
jacob
http://www.cs.virginia.edu:/~lcc-win32
x64-128 pour inltel tu la deja 12 et 13 genertion mai il faux changet larchitecture paur amd x64_128
fabien carpignano <fade@fade.airforce> wrote:
x64-128 pour inltel tu la deja 12 et 13 genertion mai il faux changet
larchitecture paur amd x64_128
Could you please write in English?
x64-128 pour inltel tu la deja 12 et 13 genertion mai il faux changet
larchitecture paur amd x64_128
Could you please write in English?
When replying to an article from 18 years ago?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 384 |
Nodes: | 16 (2 / 14) |
Uptime: | 62:03:34 |
Calls: | 8,173 |
Calls today: | 5 |
Files: | 13,113 |
Messages: | 5,864,567 |