public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, rs6000] Fix REG_CLASS_CONTENTS
@ 2011-05-31 17:42 Pat Haugen
  2011-05-31 21:57 ` David Edelsohn
  0 siblings, 1 reply; 4+ messages in thread
From: Pat Haugen @ 2011-05-31 17:42 UTC (permalink / raw)
  To: gcc-patches; +Cc: David Edelsohn

The following patch fixes an issue I noticed where vr0..vr2 were inadvertently 
included in NON_FLOAT_REGS.

Bootstrap/regtest on powerpc64-linux with no new regressions. Ok for trunk?

-Pat


2011-05-31  Pat Haugen <pthaugen@us.ibm.com>

	* config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Remove vr0..vr2 from
	NON_FLOAT_REGS.



Index: gcc/config/rs6000/rs6000.h
===================================================================
--- gcc/config/rs6000/rs6000.h  (revision 174304)
+++ gcc/config/rs6000/rs6000.h  (working copy)
@@ -1224,7 +1224,7 @@ enum reg_class
    { 0xffffffff, 0x00000000, 0x0000000f, 0x00022000 }, /* SPEC_OR_GEN_REGS */ \
    { 0x00000000, 0x00000000, 0x00000010, 0x00000000 }, /* CR0_REGS */        \
    { 0x00000000, 0x00000000, 0x00000ff0, 0x00000000 }, /* CR_REGS */         \
-  { 0xffffffff, 0x00000000, 0x0000efff, 0x00020000 }, /* NON_FLOAT_REGS */   \
+  { 0xffffffff, 0x00000000, 0x00000fff, 0x00020000 }, /* NON_FLOAT_REGS */   \
    { 0x00000000, 0x00000000, 0x00001000, 0x00000000 }, /* CA_REGS */         \
    { 0xffffffff, 0xffffffff, 0xffffffff, 0x0003ffff }  /* ALL_REGS */        \
  }

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-04 22:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-31 17:42 [PATCH, rs6000] Fix REG_CLASS_CONTENTS Pat Haugen
2011-05-31 21:57 ` David Edelsohn
2011-06-03 12:41   ` Pat Haugen
2011-06-04 22:40     ` David Edelsohn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).