Am 08.12.2007 um 02:49 schrieb Joseph S. Myers:
On Fri, 7 Dec 2007, Ross Ridge wrote:
Boris Boesler writes:
Ok, so what have I to do to write a back-end where all addresses are
given in bits? Memory is addressed in bits, not bytes. So I set:
#define BITS_PER_UNIT 1
#define UNITS_PER_WORD 32
On Fri, 7 Dec 2007, Ross Ridge wrote:
> Boris Boesler writes:
> > Ok, so what have I to do to write a back-end where all addresses are
> > given in bits? Memory is addressed in bits, not bytes. So I set:
> >
> > #define BITS_PER_UNIT 1
> > #define UNITS_PER_WORD 32
>
> I don't know if it's useful
Boris Boesler <[EMAIL PROTECTED]> writes:
> Ok, so what have I to do to write a back-end where all addresses
> are given in bits?
That's kind of an extreme case. But it sounds like you are following
the right approach.
> Without these changes the compiler stops with internal error
> mesages
Boris Boesler writes:
> Ok, so what have I to do to write a back-end where all addresses are
> given in bits? Memory is addressed in bits, not bytes. So I set:
>
> #define BITS_PER_UNIT 1
> #define UNITS_PER_WORD 32
I don't know if it's useful to define the size of a byte to be less than
8-bits, e
Am 05.12.2007 um 22:32 schrieb Ian Lance Taylor:
Boris Boesler <[EMAIL PROTECTED]> writes:
I assume that GCC internals assume that memory can be byte (8 bits)
addressed - for historical reasons.
No. gcc internals assume that memory can be addressed in units of
size BITS_PER_UNIT. The de