re PR target/28158 (ICE on complex operation with -O1 -msse)
2006-07-05 Richard Guenther <rguenther@suse.de> PR target/28158 * config/i386/i386.md (*negdf2_1): Restrict pattern to TARGET_SSE2 targets if using SSE math. (*absdf2_1): Likewise. * gfortran.dg/pr28158.f90: New testcase. From-SVN: r115203
This commit is contained in:
parent
30a843c33c
commit
dc8f520537
@ -1,3 +1,10 @@
|
||||
2006-07-05 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR target/28158
|
||||
* config/i386/i386.md (*negdf2_1): Restrict pattern to
|
||||
TARGET_SSE2 targets if using SSE math.
|
||||
(*absdf2_1): Likewise.
|
||||
|
||||
2006-07-05 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/28162
|
||||
|
@ -9913,7 +9913,7 @@
|
||||
(define_insn "*negdf2_1"
|
||||
[(set (match_operand:DF 0 "register_operand" "=f")
|
||||
(neg:DF (match_operand:DF 1 "register_operand" "0")))]
|
||||
"TARGET_80387 && (reload_completed || !TARGET_SSE_MATH)"
|
||||
"TARGET_80387 && (reload_completed || !(TARGET_SSE2 && TARGET_SSE_MATH))"
|
||||
"fchs"
|
||||
[(set_attr "type" "fsgn")
|
||||
(set_attr "mode" "DF")])
|
||||
@ -9937,7 +9937,7 @@
|
||||
(define_insn "*absdf2_1"
|
||||
[(set (match_operand:DF 0 "register_operand" "=f")
|
||||
(abs:DF (match_operand:DF 1 "register_operand" "0")))]
|
||||
"TARGET_80387 && (reload_completed || !TARGET_SSE_MATH)"
|
||||
"TARGET_80387 && (reload_completed || !(TARGET_SSE2 && TARGET_SSE_MATH))"
|
||||
"fabs"
|
||||
[(set_attr "type" "fsgn")
|
||||
(set_attr "mode" "DF")])
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-07-05 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR target/28158
|
||||
* gfortran.dg/pr28158.f90: New testcase.
|
||||
|
||||
2006-07-05 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/28162
|
||||
|
7
gcc/testsuite/gfortran.dg/pr28158.f90
Normal file
7
gcc/testsuite/gfortran.dg/pr28158.f90
Normal file
@ -0,0 +1,7 @@
|
||||
! { dg-do compile { target i?86-*-* x86_64-*-* } }
|
||||
! { dg-require-effective-target ilp32 }
|
||||
! { dg-options "-O -msse -mfpmath=sse" }
|
||||
subroutine yhalf(z)
|
||||
complex cdexpj,z
|
||||
z=cdexpj((0.d0,1.d0)*z)
|
||||
end
|
Loading…
Reference in New Issue
Block a user