re PR target/66824 (-miamcu doesn't load FP constant into register directly)
authorUros Bizjak <uros@gcc.gnu.org>
Fri, 17 Jul 2015 07:02:29 +0000 (09:02 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 17 Jul 2015 07:02:29 +0000 (09:02 +0200)
commit5fa578f079d3e6577e8ec768951fec91468abe9d
treeb231b337e9ea09ddacf91e264e8ea52a6b958598
parent5ba53785f74d9a0bdff4692684f4eba2e3480f74
re PR target/66824 (-miamcu doesn't load FP constant into register directly)

PR target/66824
* config/i386/i386.h (TARGET_HARD_SF_REGS): New define.
(TARGET_HARD_DF_REGS): Ditto.
(TARGET_HARD_XF_REGS): Ditto.
* config/i386/i386.md (*movxf_internal): Add alternatives 9 and 10.
Enable alternatives 9 and 10 only for !TARGET_HARD_XF_REG target.
(*movdf_internal): Add alternatives 22, 23, 24 and 25. Enable
alternatives 22, 23, 24 and 25 only for !TARGET_HARD_DF_REG target.
(*movsf_internal): Add alternatives 16 and 17. Enable
alternatives 16 and 17 only for !TARGET_HARD_SF_REG target.

From-SVN: r225919
gcc/ChangeLog
gcc/config/i386/i386.h
gcc/config/i386/i386.md