]> git.ipfire.org Git - thirdparty/gcc.git/commit
* config/i386/i386.c (ix86_expand_adjust_ufix_to_sfix_si): Add
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Nov 2011 10:37:04 +0000 (10:37 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Nov 2011 10:37:04 +0000 (10:37 +0000)
commitda38df18c6a0a0e2b7653bf5592f696caa3718ed
tree2f291b3b9530d77f63f97664d765fa8f25486b7a
parent7d96a0076d274c548ac6ec4a01ecffb9ef9bf8e9
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180933 138bc75d-0d04-0410-961f-82ee72b054a4
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