public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* -march=pentiumpro and BOOT_CFLAGS
@ 1997-12-31  6:44 acs
  0 siblings, 0 replies; 5+ messages in thread
From: acs @ 1997-12-31  6:44 UTC (permalink / raw)
  To: egcs

On my UnixWare 2.1.2 system, if I include -march=pentiumpro in
BOOT_CFLAGS, I cannot bootstrap the 1225 snapshot.
After building the stage1 compiler, here's the error I get:

stor-layout.s:439: Error: invalid character '$' in opcode
stor-layout.s:440: Error: invalid character '$' in opcode

Here are the offending lines from stor-layout.s:

438  .L168:
439      mov$8 -40(%ebp),%edx
440      mov$8 %edx,-4(%ebp)

(This is with binutils.2.0.1.18, in case that matters.)

Without -march=pentiumpro, the snapshot bootstraps and compares fine.
BTW, I built egcs-1.0 with no difficulty using -march=pentiumpro.

vin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: -march=pentiumpro and BOOT_CFLAGS
  1998-01-15 16:30   ` H.J. Lu
@ 1998-01-16  1:51     ` Jeffrey A Law
  0 siblings, 0 replies; 5+ messages in thread
From: Jeffrey A Law @ 1998-01-16  1:51 UTC (permalink / raw)
  To: H.J. Lu; +Cc: Stan Cox, egcs

  In message < m0xszfe-0004ecC@ocean.lucon.org >you write:
  > > 
  > > The opcode suffix was being pulled from the wrong operand. 
  > > 
  > 
  > What happened to this patch?
  > 
  > Thu Nov 20 10:05:00 1997  Stan Cox (scox@cygnus.com)
  >  
  >         * i386.md: (movsicc, movhicc): Replace m=cc0?g:g alternative by
  >         m=cc0?ri:ri and r=cc0?g:g, which eliminates the need for a
  >         scratch register.
  >         (movsfcc, movdfcc, movxfcc): Use register_operand for op0 and
  >         nonimmediate_operand for op2 and op3.
Not needed.  The real problem was in jump.c

jeff

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: -march=pentiumpro and BOOT_CFLAGS
  1998-01-05  5:53 ` Stan Cox
  1998-01-10 21:03   ` Jeffrey A Law
@ 1998-01-15 16:30   ` H.J. Lu
  1998-01-16  1:51     ` Jeffrey A Law
  1 sibling, 1 reply; 5+ messages in thread
From: H.J. Lu @ 1998-01-15 16:30 UTC (permalink / raw)
  To: Stan Cox; +Cc: egcs

> 
> The opcode suffix was being pulled from the wrong operand. 
> 

What happened to this patch?

Thu Nov 20 10:05:00 1997  Stan Cox (scox@cygnus.com)
 
        * i386.md: (movsicc, movhicc): Replace m=cc0?g:g alternative by
        m=cc0?ri:ri and r=cc0?g:g, which eliminates the need for a
        scratch register.
        (movsfcc, movdfcc, movxfcc): Use register_operand for op0 and
        nonimmediate_operand for op2 and op3.

I thought it would be installed after egcs 1.0.

Thanks.


H.J.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: -march=pentiumpro and BOOT_CFLAGS
  1998-01-05  5:53 ` Stan Cox
@ 1998-01-10 21:03   ` Jeffrey A Law
  1998-01-15 16:30   ` H.J. Lu
  1 sibling, 0 replies; 5+ messages in thread
From: Jeffrey A Law @ 1998-01-10 21:03 UTC (permalink / raw)
  To: Stan Cox; +Cc: egcs

  In message < nrk9cfxcfp.fsf@rtl.cygnus.com >you write:
  > The opcode suffix was being pulled from the wrong operand. 
  > 
  > Mon Jan  5 08:20:05 1998  Stan Cox  <scox@equinox.cygnus.com>
  >         * i386.md: (movsicc_1, movhicc_1):  For alternate 3 set the opcode
  >         suffix from operand 3.
Thanks.  Installed.

jeff

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: -march=pentiumpro and BOOT_CFLAGS
       [not found] <199712311239.HAA07630.cygnus.egcs@spacely.icd.teradyne.com>
@ 1998-01-05  5:53 ` Stan Cox
  1998-01-10 21:03   ` Jeffrey A Law
  1998-01-15 16:30   ` H.J. Lu
  0 siblings, 2 replies; 5+ messages in thread
From: Stan Cox @ 1998-01-05  5:53 UTC (permalink / raw)
  To: egcs

The opcode suffix was being pulled from the wrong operand. 

Mon Jan  5 08:20:05 1998  Stan Cox  <scox@equinox.cygnus.com>
        * i386.md: (movsicc_1, movhicc_1):  For alternate 3 set the opcode
        suffix from operand 3.

equinox% diff -u i386.md.sv i386.md
/usr/bin/diff: conflicting specifications of output style
--- i386.md.sv  Wed Nov  5 14:29:37 1997
+++ i386.md     Mon Jan  5 07:54:10 1998
@@ -7329,4 +7329,4 @@ byte_xor_operation:
           {
-            output_asm_insn (AS2 (mov%z2,%3,%4), operands);
-            output_asm_insn (AS2 (mov%z2,%4,%0), operands);
+            output_asm_insn (AS2 (mov%z3,%3,%4), operands);
+            output_asm_insn (AS2 (mov%z3,%4,%0), operands);
           }
@@ -7390,4 +7390,4 @@ byte_xor_operation:
           {
-            output_asm_insn (AS2 (mov%z2,%3,%4), operands);
-            output_asm_insn (AS2 (mov%z2,%4,%0), operands);
+            output_asm_insn (AS2 (mov%z3,%3,%4), operands);
+            output_asm_insn (AS2 (mov%z3,%4,%0), operands);
           }

 
-- 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-01-16  1:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-31  6:44 -march=pentiumpro and BOOT_CFLAGS acs
     [not found] <199712311239.HAA07630.cygnus.egcs@spacely.icd.teradyne.com>
1998-01-05  5:53 ` Stan Cox
1998-01-10 21:03   ` Jeffrey A Law
1998-01-15 16:30   ` H.J. Lu
1998-01-16  1:51     ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).