* rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50301
138bc75d-0d04-0410-961f-
82ee72b054a4
+2002-03-05 Richard Henderson <rth@redhat.com>
+
+ * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
+
2002-03-04 Geoffrey Keating <geoffk@redhat.com>
* toplev.c (documented_lang_options): Document more
#define XER_REGNO 76
#define FIRST_ALTIVEC_REGNO 77
#define LAST_ALTIVEC_REGNO 108
-#define TOTAL_ALTIVEC_REGS (LAST_ALTIVEC_REGNO - FIRST_ALTIVEC_REGNO)
+#define TOTAL_ALTIVEC_REGS (LAST_ALTIVEC_REGNO - FIRST_ALTIVEC_REGNO + 1)
#define VRSAVE_REGNO 109
/* List the order in which to allocate registers. Each register must be