rs6000.h (REG_CLASS_FROM_LETTER): Return NO_REGS for 'f' if !TARGET_FPRS.

* config/rs6000/rs6000.h (REG_CLASS_FROM_LETTER): Return NO_REGS
	for 'f' if !TARGET_FPRS.

From-SVN: r89067
This commit is contained in:
Daniel Jacobowitz 2004-10-14 23:47:14 +00:00 committed by Daniel Jacobowitz
parent 0ba6c56d92
commit a6645c18e9
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-10-14 Daniel Jacobowitz <dan@codesourcery.com>
* config/rs6000/rs6000.h (REG_CLASS_FROM_LETTER): Return NO_REGS
for 'f' if !TARGET_FPRS.
2004-10-14 Richard Henderson <rth@redhat.com>
PR debug/14492

View file

@ -1283,7 +1283,7 @@ enum reg_class
/* Get reg_class from a letter such as appears in the machine description. */
#define REG_CLASS_FROM_LETTER(C) \
((C) == 'f' ? FLOAT_REGS \
((C) == 'f' ? ((TARGET_HARD_FLOAT && TARGET_FPRS) ? FLOAT_REGS : NO_REGS) \
: (C) == 'b' ? BASE_REGS \
: (C) == 'h' ? SPECIAL_REGS \
: (C) == 'q' ? MQ_REGS \