This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r182561 - in /trunk/gcc: ChangeLog config/arm/a...
- From: rth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 21 Dec 2011 00:34:10 -0000
- Subject: r182561 - in /trunk/gcc: ChangeLog config/arm/a...
Author: rth
Date: Wed Dec 21 00:34:09 2011
New Revision: 182561
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182561
Log:
arm: Use arm_cmpdi_unsigned for thumb2 as well
This changes code generation from "eors; eors; orrs" (which ranges
from 6 to 12 bytes and requires three scratch registers), to
"cmp; it; cmp" (which is always 6 bytes for register inputs and
requires no scratch registers).
* config/arm/arm.md (*arm_cmpdi_unsigned): Enable for thumb2.
* config/arm/arm.c (arm_select_cc_mode): Use it.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/arm.c
trunk/gcc/config/arm/arm.md