]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386.c (ix86_expand_adjust_ufix_to_sfix_si): Add XORP argument.
authorJakub Jelinek <jakub@redhat.com>
Fri, 4 Nov 2011 10:37:04 +0000 (11:37 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 4 Nov 2011 10:37:04 +0000 (11:37 +0100)
commit2f2da9e931c163c6f4ce6433972854e5d0e62216
tree2f291b3b9530d77f63f97664d765fa8f25486b7a
parent4a00c76146c2e39d7c56ad93cdee3c4e13561ac6
i386.c (ix86_expand_adjust_ufix_to_sfix_si): Add XORP argument.

* config/i386/i386.c (ix86_expand_adjust_ufix_to_sfix_si): Add
XORP argument.  Subtract 0x1p31 instead of 0x1p32.  Use normal
signalling comparison instead of non-signalling.  Store into
*XORP pseudo holding 0x80000000 integers if 0x1p31 has been
subtracted and 0 otherwise.
* config/i386/i386-protos.h (ix86_expand_adjust_ufix_to_sfix_si):
Adjust prototype.
* config/i386/sse.md (fixuns_trunc<mode><sseintvecmodelower>2): Enable
already for TARGET_SSE2.  Xor in vector initialized by
ix86_expand_adjust_ufix_to_sfix_si at the end.
(vec_pack_ufix_trunc_<mode>): Likewise.

* gcc.dg/torture/vec-cvt-1.c: Enable flttointtestui test.

From-SVN: r180933
gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/vec-cvt-1.c