2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-10 06:40:29 +08:00

re PR target/35083 (ICE: in extract_insn, at recog.c:1990)

PR target/35083
	* config/i386/i386.md (floatunsisf2): Enable for TARGET_SSE_MATH only.
	Call ix86_expand_convert_uns_sisf_sse for TARGET_SSE2.

testsuite/ChangeLog:

	PR target/35083
	* gcc.target/i386/pr35083.c: New test.

From-SVN: r132114
This commit is contained in:
Uros Bizjak 2008-02-05 12:27:41 +01:00 committed by Uros Bizjak
parent 3969f765e3
commit 4a53415244
4 changed files with 21 additions and 2 deletions
gcc
ChangeLog
config/i386
testsuite
ChangeLog
gcc.target/i386

@ -1,3 +1,9 @@
2008-02-05 Uros Bizjak <ubizjak@gmail.com>
PR target/35083
* config/i386/i386.md (floatunsisf2): Enable for TARGET_SSE_MATH only.
Call ix86_expand_convert_uns_sisf_sse for TARGET_SSE2.
2008-02-04 Diego Novillo <dnovillo@google.com>
http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html

@ -5306,9 +5306,9 @@
(define_expand "floatunssisf2"
[(use (match_operand:SF 0 "register_operand" ""))
(use (match_operand:SI 1 "nonimmediate_operand" ""))]
"!TARGET_64BIT"
"!TARGET_64BIT && TARGET_SSE_MATH"
{
if (TARGET_SSE_MATH && TARGET_SSE2)
if (TARGET_SSE2)
ix86_expand_convert_uns_sisf_sse (operands[0], operands[1]);
else
x86_emit_floatuns (operands);

@ -1,3 +1,8 @@
2008-02-05 Uros Bizjak <ubizjak@gmail.com>
PR target/35083
* gcc.target/i386/pr35083.c: New test.
2008-02-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/32315

@ -0,0 +1,8 @@
/* { dg-options "-O2 -mno-80387" } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
float test (unsigned int x)
{
return (float) x;
}