OSDN Git Service

Let GET_MODE_2XWIDER_MODE find a double-width vector mode.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Dec 2011 20:42:55 +0000 (20:42 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Dec 2011 20:42:55 +0000 (20:42 +0000)
commitde44e2b0d694d2d0f596cdb2cd88624106650ed5
tree914df35ba46de67da8ba88eabaff049134debfe9
parent517c89e5c01a21e811b3db7267a4e655bfce267f
Let GET_MODE_2XWIDER_MODE find a double-width vector mode.

        * genmodes.c (struct mode_data): Remove wider_2x member.
        (blank_mode): Adjust initializer.
        (calc_wider_mode): Use XALLOCAVEC.
        (emit_move_wider): Select double-width same-element vectors for
        2xwider vectors.
        * machmode.h (GET_MODE_2XWIDER_MODE): Update documentation.
        * config/i386/i386.c (doublesize_vector_mode): Remove.
        (expand_vselect_vconcat): Use GET_MODE_2XWIDER_MODE instead.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182191 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/genmodes.c
gcc/machmode.h