OSDN Git Service

PR target/56890
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Apr 2013 08:33:56 +0000 (08:33 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Apr 2013 08:33:56 +0000 (08:33 +0000)
commit240f22d347213edc0d738cd9fb43ea13065a2789
tree447fd2abafede8a4b1ab5890311e0dd3b637aa36
parentfc6062789984dcd086ef93b54fc97ab7eea0c181
PR target/56890
* config/sparc/sparc.c (enum sparc_mode_class): Add H_MODE value.
(S_MODES): Set H_MODE bit.
(SF_MODES): Set only S_MODE and SF_MODE bits.
(DF_MODES): Set SF_MODES and only D_MODE and DF_MODE bits.
(sparc_init_modes) <MODE_INT>: Set H_MODE bit for sub-word modes.
<MODE_VECTOR_INT>: Do not set SF_MODE for sub-word modes.
<MODE_FLOAT>: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@197960 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr56890-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr56890-2.c [new file with mode: 0644]