This is the mail archive of the gcc-bugs@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]

Re: new imaginary x86 addressing mode used


On Wed, Apr 14, 1999 at 11:18:31AM -0500, Robert Lipe wrote:
>         negl %cx			<- If it's long, it's %ecx, right?

Tsk tsk.


r~


	* i386.md (neghi): Use the whole register when widening the op.

Index: config/i386/i386.md
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/i386/i386.md,v
retrieving revision 1.69
diff -c -p -d -r1.69 i386.md
*** i386.md	1999/04/14 00:51:30	1.69
--- i386.md	1999/04/14 16:39:03
*************** byte_xor_operation:
*** 4740,4746 ****
      if (REG_P (operands[0]) && i386_cc_probably_useless_p (insn))
        {
  	CC_STATUS_INIT;
! 	return AS1(neg%L0,%0);
        }
      return AS1(neg%W0,%0);")
  
--- 4740,4746 ----
      if (REG_P (operands[0]) && i386_cc_probably_useless_p (insn))
        {
  	CC_STATUS_INIT;
! 	return AS1(neg%L0,%k0);
        }
      return AS1(neg%W0,%0);")
  


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