From: Uros Bizjak Date: Thu, 2 Apr 2015 17:33:22 +0000 (+0200) Subject: i386.c (ix86_register_priority): Use AX_REG. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fcb8e42940fd1ed8bb2ac449fe3cf08d9266e8f9;p=gcc.git i386.c (ix86_register_priority): Use AX_REG. * config/i386/i386.c (ix86_register_priority): Use AX_REG. From-SVN: r221844 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8e4ca6510ae..59dbeec7033 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-04-02 Uros Bizjak + + * config/i386/i386.c (ix86_register_priority): Use AX_REG. + 2015-04-02 Uros Bizjak Revert parts of r216820. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 744642c7e36..d8d9983009d 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -41256,7 +41256,7 @@ ix86_register_priority (int hard_regno) if (FIRST_REX_SSE_REG <= hard_regno && hard_regno <= LAST_REX_SSE_REG) return 2; /* Usage of AX register results in smaller code. Prefer it. */ - if (hard_regno == 0) + if (hard_regno == AX_REG) return 4; return 3; }