From 434426d2dd6778aa23114fe4590788ff558325fa Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Sun, 1 Mar 2009 22:58:31 +0100 Subject: [PATCH] i386.h (CONDITIONAL_REGISTER_USAGE): Use defined names instead of magic constants for REX SSE registers. * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Use defined names instead of magic constants for REX SSE registers. From-SVN: r144533 --- gcc/ChangeLog | 5 +++-- gcc/config/i386/i386.h | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 213a5dc7e00..012e8087e6a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,7 +1,8 @@ 2009-03-01 Uros Bizjak - * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not - shadow "i" variable. + * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not shadow "i" + variable. Use defined names instead of magic constants for REX SSE + registers. 2009-03-01 Richard Guenther diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index aa46097f39e..3149442fd82 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -942,10 +942,10 @@ do { \ { \ call_used_regs[4 /*RSI*/] = 0; \ call_used_regs[5 /*RDI*/] = 0; \ - for (i = 0; i < 8; i++) \ - call_used_regs[45+i] = 0; \ call_used_regs[27 /*XMM6*/] = 0; \ call_used_regs[28 /*XMM7*/] = 0; \ + for (i = FIRST_REX_SSE_REG; i <= LAST_REX_SSE_REG; i++) \ + call_used_regs[i] = 0; \ } \ if (! TARGET_MMX) \ for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) \