Minimum addressable unit

Hi,

How can we set the minimum addressable memory unit to be 32 bit ?

As far as I know, getTargetData() provides all type sizes and alignments to compute address offsets assuming a MAU of 8 bits.
But what if I have a MAU of 32 bits ?
Currently I have 2 legal types in my BE, i16 and v2i16, and I could set TargetData in order to have v2i16 types with a size and alignment of 8 bits. Doing so, I will have correct address offsets but I suspect it would break optimizations phases. Any advice ?

Ivan

Hi Ivan,

How can we set the minimum addressable memory unit to be 32 bit ?

you can't.

Ciao, Duncan.