[patch] config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Accept H8/S.
Jeffrey A Law
law@cygnus.com
Thu Aug 3 00:24:00 GMT 2000
In message < 41ECF07CC183D111A6F800805FEDAB190CE6AC@EXCHANGE1 >you write:
> Hi Jeff,
>
> > The H8/S also has 32bit addresses, but all 32bits are
> > significant. the
> > top 256 bytes of a 32bit address are 0xffffff00 - 0xffffffff
> > inclusive.
> >
> > ie, the areas where 8 bit accesses are valid are _not_ the same if my
> > recollection of addressing modes on the H8 series are correct.
>
> I called up Hitachi Technical Support. They said the upper 8 bits are
> _still_ dont-cares on H8/S as well as H8/300H and that the chip (both
> internally and externally) has only 24 bits.
Is that the implementation or the specification?
I just checked my H8/S manual and the specification is 32 bit addresses and
thus we should not install this patch, even if the current H8/S implementations
only support 24bit addresses.
If you really want to support this on the H8/S, then you would have to create
a chip specific flag for an implementation of the H8/S architecture that you
could use to enable this optimization.
Jeff
More information about the Gcc-patches
mailing list