OSDN Git Service

Backport from mainline
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Oct 2013 06:09:02 +0000 (06:09 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Oct 2013 06:09:02 +0000 (06:09 +0000)
commitdba6d78d0afbe3e113ed66eeee26aaa908a15f07
tree77e1f2752a607fe123def6be933c73ed4ee93993
parent41a604740013b2e8ef6444b43693ed6d115710c9
Backport from mainline
2013-10-22  Uros Bizjak  <ubizjak@gmail.com>

PR target/58779
* config/i386/i386.c (put_condition_code) <case GTU, case LEU>:
Remove CCCmode handling.
<case LTU>: Return 'c' suffix for CCCmode.
<case GEU>: Return 'nc' suffix for CCCmode.
(ix86_cc_mode) <case GTU, case LEU>: Do not generate overflow checks.
* config/i386/i386.md (*sub<mode>3_cconly_overflow): Remove.
(*sub<mode>3_cc_overflow): Ditto.
(*subsi3_zext_cc_overflow): Ditto.

Backport from mainline
2013-10-19  Uros Bizjak  <ubizjak@gmail.com>

PR target/58792
* config/i386/i386.c (ix86_function_value_regno): Add DX_REG,
ST1_REG and XMM1_REG for 32bit and 64bit targets.  Also add DI_REG
and SI_REG for 64bit SYSV ABI targets.

testsuite/ChangeLog:

Backport from mainline
2013-10-22  Uros Bizjak  <ubizjak@gmail.com>

PR target/58779
* gcc.target/i386/pr30315.c: Remove MINUSCC, DECCC, MINUSCCONLY
and MINUSCCZEXT defines. Update scan-assembler dg directive.
* gcc.dg/torture/pr58779.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@204088 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr58779.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr30315.c