Commit be3d4789 by Uros Bizjak Committed by Uros Bizjak

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
parent e83a75a7
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> 2008-03-09 Ira Rosen <irar@il.ibm.com>
* config/rs6000/rs6000.c (builtin_description): Rename vector * config/rs6000/rs6000.c (builtin_description): Rename vector
......
...@@ -16789,7 +16789,8 @@ ia32_multipass_dfa_lookahead (void) ...@@ -16789,7 +16789,8 @@ ia32_multipass_dfa_lookahead (void)
int int
ix86_constant_alignment (tree exp, int align) 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) if (TYPE_MODE (TREE_TYPE (exp)) == DFmode && align < 64)
return 64; return 64;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment