pa32-regs.h (REGNO_REG_CLASS, [...]): Delete duplicated code.
* pa32-regs.h (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Delete duplicated code. From-SVN: r62196
This commit is contained in:
parent
ba49f6f13b
commit
e137391e86
|
@ -1,3 +1,8 @@
|
|||
2003-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
* pa32-regs.h (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Delete
|
||||
duplicated code.
|
||||
|
||||
2003-01-31 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* tree.h (TYPE_BINFO_SIZE, TYPE_BINFO_SIZE_UNIT): Remove.
|
||||
|
|
|
@ -259,14 +259,12 @@ enum reg_class { NO_REGS, R1_REGS, GENERAL_REGS, FPUPPER_REGS, FP_REGS,
|
|||
: (REGNO) < 32 ? GENERAL_REGS \
|
||||
: (REGNO) < 56 ? FP_REGS \
|
||||
: (REGNO) < 88 ? FPUPPER_REGS \
|
||||
: (REGNO) < 88 ? FPUPPER_REGS \
|
||||
: SHIFT_REGS)
|
||||
|
||||
/* Get reg_class from a letter such as appears in the machine description. */
|
||||
/* Keep 'x' for backward compatibility with user asm. */
|
||||
#define REG_CLASS_FROM_LETTER(C) \
|
||||
((C) == 'f' ? FP_REGS : \
|
||||
(C) == 'y' ? FPUPPER_REGS : \
|
||||
(C) == 'y' ? FPUPPER_REGS : \
|
||||
(C) == 'x' ? FP_REGS : \
|
||||
(C) == 'q' ? SHIFT_REGS : \
|
||||
|
|
Loading…
Reference in New Issue