Article View: gnu.gcc.help
Article #85addressable storage unit
From: dong
Date: Wed, 08 Apr 1992 06:48
Date: Wed, 08 Apr 1992 06:48
32 lines
1064 bytes
1064 bytes
Dear support, I am confused by the explaination of BITS_PER_UNIT : "Number of bits in an addressable storage unit(byte)" what if an architecture has no byte ? i.e. the addreesable storage unit is a word (32 bits) ? I tried two alternatives in tm.h : 1) #define BITS_PER_UNIT 8 #define UNITS_PER_WORD 4 this didn't work at all, as storage allocation was completely wrong(it grabbed 4 words for each int) 2) #define BITS_PER_UNIT 32 #define UNITS_PER_WORD 1 this worked without double type. In varasm.c:output_constant, size == 2 (instead of 4) for a double type, so a skip was outputed instead of a double. Can you tell me how to manage this situation ? Thanks Dong Lin
Technical Details
Message-ID:
<9204082048.AA03497@vlsi.cs.caltech.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!vlsi.cs.caltech.edu!dongShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!vlsi.cs.caltech.edu!dong From: dong@vlsi.cs.caltech.edu Subject: addressable storage unit Message-ID: <9204082048.AA03497@vlsi.cs.caltech.edu> Sender: daemon@cis.ohio-state.edu Organization: GNUs Not Usenet Distribution: gnu Date: Wed, 8 Apr 1992 06:48:26 GMT Lines: 32