On Fri, 2012-04-06 at 10:46 +0900, Kaz Kojima wrote: > From: Oleg Endo <oleg.e...@t-online.de> > >> Exposing three-letter macro MSW and LSW globally looks not > >> a good idea to me. > > > > Would 'HIGH_WORD' and 'LOW_WORD' be OK as an alternative? > > Sounds better but still a bit too generic. SH_{HIGH,LOW}_WORD > would be Ok, though not so cool. >
On a second thought, it might be better to simplify those cases in the .md file, where low/high subregs are used by using 'gen_highpart' and 'gen_lowpart' for example, instead of checking the endianness over and over again. I'm trying out a couple of things... Cheers, Oleg