This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Obvious fix to i386 cosxf pattern


Installed into mainline/hammer/3.3 branch.
Wed Feb 19 14:22:14 CET 2003  Jan Hubicka  <jh at suse dot cz>
	* i386.md (cosxf2):  Fix conditional.

Index: i386.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.md,v
retrieving revision 1.435
diff -c -3 -p -r1.435 i386.md
*** i386.md	16 Feb 2003 01:35:36 -0000	1.435
--- i386.md	19 Feb 2003 13:22:01 -0000
***************
*** 15417,15423 ****
  (define_insn "cosxf2"
    [(set (match_operand:XF 0 "register_operand" "=f")
  	(unspec:XF [(match_operand:XF 1 "register_operand" "0")] UNSPEC_COS))]
!   "! TARGET_NO_FANCY_MATH_387 && TARGET_80387
     && flag_unsafe_math_optimizations"
    "fcos"
    [(set_attr "type" "fpspc")
--- 15417,15423 ----
  (define_insn "cosxf2"
    [(set (match_operand:XF 0 "register_operand" "=f")
  	(unspec:XF [(match_operand:XF 1 "register_operand" "0")] UNSPEC_COS))]
!   "!TARGET_64BIT && ! TARGET_NO_FANCY_MATH_387 && TARGET_80387
     && flag_unsafe_math_optimizations"
    "fcos"
    [(set_attr "type" "fpspc")


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]