On Fri, Jul 19, 2019 at 10:39:52AM +0100, Jozef Lawrynowicz wrote:
> > > 2019-07-18 Jozef Lawrynowicz <[email protected]>
> > >
> > > PR target/70320
> > > * doc/tm.texi.in: Document new macro CASE_INSENSITIVE_REGISTER_NAMES.
> > > * doc/tm.texi: Likewise.
> > > * defaults.h: Define CASE_INSENSITIVE_REGISTER_NAMES to 0.
> > > * config/msp430/msp430.h: Define CASE_INSENSITIVE_REGISTER_NAMES to 1.
> > > * varasm.c (decode_reg_name_and_count): Use strcasecmp instead of
> > > strcmp for comparisons of asmspec with a register name if
> > > CASE_INSENSITIVE_REGISTER_NAMES is defined to 1.
Ugh, do we really need this? If it is just for msp430, can't it instead
just
#define ADDITIONAL_REGISTER_NAMES macro and add those 16 "rN" register name
aliases to the current REGISTER_NAMES "RN" names?
Jakub