Hello!

2013-04-12  Uros Bizjak  <ubiz...@gmail.com>

    * config/i386/i386.c (ix86_hard_regno_mode_ok): Use ANY_QI_REGNO_P in
    QImode checks.

There is no functional change, but the function is now slightly more readable.

Tested on x86_64-pc-linux-gnu {,-m32} and committed to mainline SVN.

Uros.
Index: i386.c
===================================================================
--- i386.c      (revision 197931)
+++ i386.c      (working copy)
@@ -33972,7 +33972,7 @@
     {
       /* Take care for QImode values - they can be in non-QI regs,
         but then they do cause partial register stalls.  */
-      if (TARGET_64BIT || QI_REGNO_P (regno))
+      if (ANY_QI_REGNO_P (regno))
        return true;
       if (!TARGET_PARTIAL_REG_STALL)
        return true;

Reply via email to