re PR target/35496 (test failures between revs. 132950 and 132974)

PR target/35496
        * config/i386/i386.c (ix86_constant_algnment): Compute alignment using
        ALIGN_MODE_128 for VECTOR_CST and INTEGER_CST in addition to REAL_CST.

From-SVN: r133052
This commit is contained in:
Uros Bizjak 2008-03-09 14:37:52 +01:00 committed by Uros Bizjak
parent e83a75a793
commit be3d47899e
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2008-03-09 Uros Bizjak <ubizjak@gmail.com>
PR target/35496
* config/i386/i386.c (ix86_constant_algnment): Compute alignment using
ALIGN_MODE_128 for VECTOR_CST and INTEGER_CST in addition to REAL_CST.
2008-03-09 Ira Rosen <irar@il.ibm.com>
* config/rs6000/rs6000.c (builtin_description): Rename vector

View File

@ -16789,7 +16789,8 @@ ia32_multipass_dfa_lookahead (void)
int
ix86_constant_alignment (tree exp, int align)
{
if (TREE_CODE (exp) == REAL_CST)
if (TREE_CODE (exp) == REAL_CST || TREE_CODE (exp) == VECTOR_CST
|| TREE_CODE (exp) == INTEGER_CST)
{
if (TYPE_MODE (TREE_TYPE (exp)) == DFmode && align < 64)
return 64;