[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 32-bit profiling counts?
From: |
Andrew J. Schorr |
Subject: |
Re: 32-bit profiling counts? |
Date: |
Sat, 6 Jun 2020 14:09:10 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sat, Jun 06, 2020 at 07:18:31PM +0200, Wolfgang Laun wrote:
> C99 (and GNU C) doesn't guarantee more than 32 bit for a long. You need long
> long for 64 bit.
I'm aware of that. That's why I asked what platform he's on. As I understand
it, Unix compilers typically use an LP64 data model on x86_64 architectures, so
on those platforms at least, a long should be 64 bits. I'd guess he's maybe
using a MinGW Windows version of gawk. One could certainly hardwire a
64-bit type in that field, but I can't find any instances of that in the
gawk codebase, for reasons not obvious to me, and we'd have to review
the impact of changing that type since the field is used for other purposes
in different contexts.
Regards,
Andy
- 32-bit profiling counts?, Peter Lindgren, 2020/06/05
- Re: 32-bit profiling counts?, Andrew J. Schorr, 2020/06/06
- Re: 32-bit profiling counts?, Wolfgang Laun, 2020/06/06
- Re: 32-bit profiling counts?,
Andrew J. Schorr <=
- Re: 32-bit profiling counts?, arnold, 2020/06/07
- Re: 32-bit profiling counts?, Wolfgang Laun, 2020/06/07
- Re: 32-bit profiling counts?, Andrew J. Schorr, 2020/06/07
- Re: 32-bit profiling counts?, arnold, 2020/06/08
- Re: 32-bit profiling counts?, Andrew J. Schorr, 2020/06/08
- Re: 32-bit profiling counts?, arnold, 2020/06/09
- Re: 32-bit profiling counts?, Andrew J. Schorr, 2020/06/10