re PR target/31385 (gcc fails to find spill register for decimal arithmetic)
authorH.J. Lu <hjl@gcc.gnu.org>
Mon, 27 Aug 2007 14:14:31 +0000 (07:14 -0700)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 27 Aug 2007 14:14:31 +0000 (07:14 -0700)
commit62d75179760ebc60b025194c86ae0b5ee3695fe0
tree74057d0c8939679c68d2a3aa3e5c182f1385c913
parentb5deb7b691b1ef2afe673899d021e17143e0c957
re PR target/31385 (gcc fails to find spill register for decimal arithmetic)

gcc/

2007-08-27  H.J. Lu  <hongjiu.lu@intel.com>

PR target/31385
* config/i386/i386.h (VALID_DFP_MODE_P): New.
* config/i386/i386.c (ix86_hard_regno_mode_ok): Allow DFP in
GPR.

gcc/testsuite/

2007-08-27  H.J. Lu  <hongjiu.lu@intel.com>

PR target/31385
* gcc.dg/dfp/pr31385.c: New.

From-SVN: r127833
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/dfp/pr31385.c [new file with mode: 0644]