i386-protos.h (ix86_operands_ok_for_move_multiple): New.
authorUros Bizjak <ubizjak@gmail.com>
Fri, 24 Apr 2015 13:05:50 +0000 (15:05 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 24 Apr 2015 13:05:50 +0000 (15:05 +0200)
commit97afef00ba922009a05cff1293c1ff3f35093ad6
tree991f4046ffcb8968766f59793bb2be72088fc97f
parent8c2b7f79721cb9ef50d996ef2073210e7402c69a
i386-protos.h (ix86_operands_ok_for_move_multiple): New.

* config/i386/i386-protos.h (ix86_operands_ok_for_move_multiple): New.
* config/i386/i386.c (extract_base_offset_in_addr): New function.
(ix86_operands_ok_for_move_multiple): Ditto.
* config/i386/sse.md (movsd/movhpd to movupd peephole2): New pattern.
(movlpd/movhpd to movupd peephole2): Ditto.

testsuite/ChangeLog:

* gcc.target/i386/sse2-load-multi.c: New test.
* gcc.target/i386/sse2-store-multi.c: Ditto.

Co-Authored-By: Wei Mi <wmi@google.com>
From-SVN: r222410
gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/sse2-load-multi.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse2-store-multi.c [new file with mode: 0644]