This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: new imaginary x86 addressing mode used
- To: Robert Lipe <robertl at sco dot com>, egcs-bugs at egcs dot cygnus dot com
- Subject: Re: new imaginary x86 addressing mode used
- From: Richard Henderson <rth at cygnus dot com>
- Date: Wed, 14 Apr 1999 09:42:23 -0700
- Cc: hubicka at freesoft dot cz
- References: <19990414111831.A24432@rjlhome.sco.com>
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);")