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 correct x86 FP trunc split


This fixes an improper use of output_move_double.

ChangeLog:

Wed Apr 14 13:05:05 EDT 1999  John Wehle  (john@feith.com)

	* i386.md (truncxfdf): Output the template supplied
	by output_move_double with the correct operands.

Enjoy!

-- John Wehle
------------------8<------------------------8<------------------------
*** gcc/config/i386/i386.md.ORIGINAL	Wed Apr 14 02:17:15 1999
--- gcc/config/i386/i386.md	Wed Apr 14 13:02:17 1999
***************
*** 2648,2654 ****
      {
      xops[0] = operands[0];
      xops[1] = operands[2];
!     return output_move_double (xops);
      }
  
    return \"\";
--- 2648,2654 ----
      {
      xops[0] = operands[0];
      xops[1] = operands[2];
!     output_asm_insn (output_move_double (xops), xops);
      }
  
    return \"\";
-------------------------------------------------------------------------
|   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]