r209724 - in /branches/google/gcc-4_8/gcc: conf...
wmi@gcc.gnu.org
wmi@gcc.gnu.org
Wed Apr 23 21:14:00 GMT 2014
Author: wmi
Date: Wed Apr 23 21:14:09 2014
New Revision: 209724
URL: http://gcc.gnu.org/viewcvs?rev=209724&root=gcc&view=rev
Log:
This patch is to merge movsd/movhpd pair written in intrinsics to movupd.
It is done in peephole, so it can only merge such pair when movsd/movhpd
are consecutive.
gcc/ChangeLog:
2014-04-23 Wei Mi <wmi@google.com>
* config/i386/i386.c (get_memref_parts): New function.
(adjacent_mem_locations): Ditto.
* config/i386/i386-protos.h: Add decl for adjacent_mem_locations.
* config/i386/sse.md: Add define_peephole rule.
gcc/testsuite/ChangeLog:
2014-04-23 Wei Mi <wmi@google.com>
* gcc.target/i386/sse2-unaligned-mov.c: New test.
Added:
branches/google/gcc-4_8/gcc/testsuite/gcc.target/i386/sse2-unaligned-mov.c
Modified:
branches/google/gcc-4_8/gcc/config/i386/i386-protos.h
branches/google/gcc-4_8/gcc/config/i386/i386.c
branches/google/gcc-4_8/gcc/config/i386/sse.md
More information about the Gcc-cvs
mailing list