This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 16-bit int


On 2012-08-09 15:51:44 -0700, Ian Lance Taylor wrote:
> On Thu, Aug 9, 2012 at 3:38 PM, Vincent Lefevre <vincent+gcc@vinc17.org> wrote:
> >
> > There are many processors I don't know. What I'm interested in is
> > information like: is there any target that has some given int type
> > size?
> 
> In the GCC source code:
> 
> grep INT_TYPE_SIZE gcc/config/*/*.h

Thanks. Actually

grep 'define[[:space:]]*INT_TYPE_SIZE' gcc/config/*/*.h

to get exactly what I need. And

grep 'define[[:space:]]*LONG_TYPE_SIZE' gcc/config/*/*.h
grep 'define[[:space:]]*LONG_LONG_TYPE_SIZE' gcc/config/*/*.h

for the long type and long long type respectively. So, I can see that
one just has: 16/32/64, 32/32/64 and 32/64/64.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]