+2017-01-16 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386/i386.h (HARD_REGNO_CALLER_SAVE_MODE): Apply HImode and
+ QImode fixups to general and mask registers only.
+
2017-01-16 Carl Love <cel@us.ibm.com>
* config/rs6000/rs6000-c (altivec_overloaded_builtins): Add support
(CC_REGNO_P (REGNO) ? VOIDmode \
: (MODE) == VOIDmode && (NREGS) != 1 ? VOIDmode \
: (MODE) == VOIDmode ? choose_hard_reg_mode ((REGNO), (NREGS), false) \
- : (MODE) == HImode && !(TARGET_PARTIAL_REG_STALL \
+ : (MODE) == HImode && !((GENERAL_REGNO_P (REGNO) \
+ && TARGET_PARTIAL_REG_STALL) \
|| MASK_REGNO_P (REGNO)) ? SImode \
- : (MODE) == QImode && !(TARGET_64BIT || QI_REGNO_P (REGNO) \
+ : (MODE) == QImode && !(ANY_QI_REGNO_P (REGNO) \
|| MASK_REGNO_P (REGNO)) ? SImode \
: (MODE))