mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 08:30:35 +08:00
i386.c (ix86_register_priority): Use AX_REG.
* config/i386/i386.c (ix86_register_priority): Use AX_REG. From-SVN: r221844
This commit is contained in:
parent
894bec6885
commit
fcb8e42940
@ -1,3 +1,7 @@
|
||||
2015-04-02 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/i386.c (ix86_register_priority): Use AX_REG.
|
||||
|
||||
2015-04-02 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
Revert parts of r216820.
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user