From e9dd4c3e048450ef944455cd1e9440bee024d0f8 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Mon, 28 May 2007 14:17:42 +0200 Subject: [PATCH] i386.c (ix86_expand_vector_move): Expand unaligned memory access via x86_expand_vector_move_misalign() only for... * target/i386/i386.c (ix86_expand_vector_move): Expand unaligned memory access via x86_expand_vector_move_misalign() only for TImode values on 32-bit targets. From-SVN: r125129 --- gcc/ChangeLog | 22 ++++++++++++++-------- gcc/config/i386/i386.c | 2 +- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5f19afecfd0..355293dd631 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,13 +1,19 @@ +2007-05-28 Uros Bizjak + + * target/i386/i386.c (ix86_expand_vector_move): Expand unaligned + memory access via x86_expand_vector_move_misalign() only for + TImode values on 32-bit targets. + 2007-05-28 Razya Ladelsky - * matrix-reorg.c: New file. Implement matrix flattening and transposing - optimization. - * tree-pass.h: Add matrix reorg pass. - * common.opt: Add fipa-mreorg flag. - * Makefile.in: Add matrix-reorg.c. - * passes.c: Add matrix reorg pass. - * varpool.c (add_new_static_var): New function. - * cgraph.h (add_new_static_var): Declare. + * matrix-reorg.c: New file. Implement matrix flattening and + transposing optimization. + * tree-pass.h: Add matrix reorg pass. + * common.opt: Add fipa-mreorg flag. + * Makefile.in: Add matrix-reorg.c. + * passes.c: Add matrix reorg pass. + * varpool.c (add_new_static_var): New function. + * cgraph.h (add_new_static_var): Declare. 2007-05-27 Eric Christopher diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index b0db9504e3d..f68dc6aabd2 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -9746,7 +9746,7 @@ ix86_expand_vector_move (enum machine_mode mode, rtx operands[]) unaligned memory access. Use ix86_expand_vector_move_misalign() if memory operand is not aligned correctly. */ if (!no_new_pseudos - && SSE_REG_MODE_P (mode) + && (mode == TImode) && !TARGET_64BIT && ((MEM_P (op0) && (MEM_ALIGN (op0) < align)) || (MEM_P (op1) && (MEM_ALIGN (op1) < align)))) {