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]

Patch to remove earlyclobber from x86 FP -> integer conversions


This patch removes an unnecessary earlyclobber from alternative 2.

ChangeLog:

Sun Apr 25 19:59:59 EDT 1999  John Wehle  (john@feith.com)

	* i386.md (fix_truncsfsi2, fix_truncsfdi2,
	fix_truncdfsi2, fix_truncdfdi2, fix_truncxfsi2,
	fix_truncxfdi2): Remove unnecessary earlyclobber.

Enjoy!

-- John Wehle
------------------8<------------------------8<------------------------
*** gcc/config/i386/i386.md.ORIGINAL	Sun Apr 25 19:56:42 1999
--- gcc/config/i386/i386.md	Sun Apr 25 19:57:38 1999
***************
*** 2716,2722 ****
     (clobber (match_operand:HI 2 "memory_operand" "m,m"))
     (clobber (match_operand:HI 3 "memory_operand" "m,m"))
     (clobber (match_operand:SI 4 "memory_operand" "m,m"))
!    (clobber (match_scratch:HI 5 "=&r,&r"))]
    "TARGET_80387"
    "* return output_fix_trunc (insn, operands);"
    [(set_attr "type" "fpop")])
--- 2716,2722 ----
     (clobber (match_operand:HI 2 "memory_operand" "m,m"))
     (clobber (match_operand:HI 3 "memory_operand" "m,m"))
     (clobber (match_operand:SI 4 "memory_operand" "m,m"))
!    (clobber (match_scratch:HI 5 "=&r,r"))]
    "TARGET_80387"
    "* return output_fix_trunc (insn, operands);"
    [(set_attr "type" "fpop")])
***************
*** 2745,2751 ****
     (clobber (match_operand:HI 2 "memory_operand" "m,m"))
     (clobber (match_operand:HI 3 "memory_operand" "m,m"))
     (clobber (match_operand:DI 4 "memory_operand" "m,o"))
!    (clobber (match_scratch:HI 5 "=&r,&r"))]
    "TARGET_80387"
    "* return output_fix_trunc (insn, operands);"
    [(set_attr "type" "fpop")])
--- 2745,2751 ----
     (clobber (match_operand:HI 2 "memory_operand" "m,m"))
     (clobber (match_operand:HI 3 "memory_operand" "m,m"))
     (clobber (match_operand:DI 4 "memory_operand" "m,o"))
!    (clobber (match_scratch:HI 5 "=&r,r"))]
    "TARGET_80387"
    "* return output_fix_trunc (insn, operands);"
    [(set_attr "type" "fpop")])
***************
*** 2771,2777 ****
     (clobber (match_operand:HI 2 "memory_operand" "m,m"))
     (clobber (match_operand:HI 3 "memory_operand" "m,m"))
     (clobber (match_operand:SI 4 "memory_operand" "m,m"))
!    (clobber (match_scratch:HI 5 "=&r,&r"))]
    "TARGET_80387"
    "* return output_fix_trunc (insn, operands);"
    [(set_attr "type" "fpop")])
--- 2771,2777 ----
     (clobber (match_operand:HI 2 "memory_operand" "m,m"))
     (clobber (match_operand:HI 3 "memory_operand" "m,m"))
     (clobber (match_operand:SI 4 "memory_operand" "m,m"))
!    (clobber (match_scratch:HI 5 "=&r,r"))]
    "TARGET_80387"
    "* return output_fix_trunc (insn, operands);"
    [(set_attr "type" "fpop")])
***************
*** 2800,2806 ****
     (clobber (match_operand:HI 2 "memory_operand" "m,m"))
     (clobber (match_operand:HI 3 "memory_operand" "m,m"))
     (clobber (match_operand:DI 4 "memory_operand" "m,o"))
!    (clobber (match_scratch:HI 5 "=&r,&r"))]
    "TARGET_80387"
    "* return output_fix_trunc (insn, operands);"
    [(set_attr "type" "fpop")])
--- 2800,2806 ----
     (clobber (match_operand:HI 2 "memory_operand" "m,m"))
     (clobber (match_operand:HI 3 "memory_operand" "m,m"))
     (clobber (match_operand:DI 4 "memory_operand" "m,o"))
!    (clobber (match_scratch:HI 5 "=&r,r"))]
    "TARGET_80387"
    "* return output_fix_trunc (insn, operands);"
    [(set_attr "type" "fpop")])
***************
*** 2826,2832 ****
     (clobber (match_operand:HI 2 "memory_operand" "m,m"))
     (clobber (match_operand:HI 3 "memory_operand" "m,m"))
     (clobber (match_operand:SI 4 "memory_operand" "m,m"))
!    (clobber (match_scratch:HI 5 "=&r,&r"))]
    "TARGET_80387"
    "* return output_fix_trunc (insn, operands);"
    [(set_attr "type" "fpop")])
--- 2826,2832 ----
     (clobber (match_operand:HI 2 "memory_operand" "m,m"))
     (clobber (match_operand:HI 3 "memory_operand" "m,m"))
     (clobber (match_operand:SI 4 "memory_operand" "m,m"))
!    (clobber (match_scratch:HI 5 "=&r,r"))]
    "TARGET_80387"
    "* return output_fix_trunc (insn, operands);"
    [(set_attr "type" "fpop")])
***************
*** 2855,2861 ****
     (clobber (match_operand:HI 2 "memory_operand" "m,m"))
     (clobber (match_operand:HI 3 "memory_operand" "m,m"))
     (clobber (match_operand:DI 4 "memory_operand" "m,o"))
!    (clobber (match_scratch:HI 5 "=&r,&r"))]
    "TARGET_80387"
    "* return output_fix_trunc (insn, operands);"
    [(set_attr "type" "fpop")])
--- 2855,2861 ----
     (clobber (match_operand:HI 2 "memory_operand" "m,m"))
     (clobber (match_operand:HI 3 "memory_operand" "m,m"))
     (clobber (match_operand:DI 4 "memory_operand" "m,o"))
!    (clobber (match_scratch:HI 5 "=&r,r"))]
    "TARGET_80387"
    "* return output_fix_trunc (insn, operands);"
    [(set_attr "type" "fpop")])
-------------------------------------------------------------------------
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: john@feith.com  |
|    John Wehle    |     Fax: 1-215-540-5495  |                         |
-------------------------------------------------------------------------



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