🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2074

gcc-1.32/ns32k.md

#2074
From: Dirk Grunwald
Date: Thu, 22 Dec 1988 22:11
39 lines
1437 bytes
The following pattern in ns32k.md:
	(define_insn "andsi3"
contains a extra brace, at line 1110 (sorry, forgot to save copy to make
a context diff.

I now have:
		..some omitted..
      if ((INTVAL (operands[2]) | 0xffff) == 0xffffffff)
        {
	  if (INTVAL (operands[2]) == 0xffff0000)
	    return \"movqw %$0,%0\";
	  else
	    {
	      operands[2] = gen_rtx (CONST_INT, VOIDmode,
				     INTVAL (operands[2]) & 0xffff);
	      return \"andw %2,%0\";
	    }
	}
    }
  return \"andd %2,%0\";
}")

and it builds a working compiler.

However, there appears to be a problem in sdbout.c When I'm running stage2,
I get the following output line:

	.def	.eos;	.val	12;	.scl	102;	.tag	_;	.size	12;	.endef

where the tag is _^R, or control-R. I'm not certain if this is due to a
flakey compiler (stage 1 worked fine, except that I needed to pass -j to
one file so the assembler would use ljas).

Any ideas appreciated.

Dirk Grunwald
Univ. of Illinois
grunwald@m.cs.uiuc.edu
Technical Details
Message-ID: <8812222211.AA27318@m.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!tut.cis.ohio-state.edu!M.CS.UIUC.EDU!grunwald

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!tut.cis.ohio-state.edu!M.CS.UIUC.EDU!grunwald
From: grunwald@M.CS.UIUC.EDU (Dirk Grunwald)
Newsgroups: gnu.gcc.bug
Subject: gcc-1.32/ns32k.md
Message-ID: <8812222211.AA27318@m.cs.uiuc.edu>
Date: 22 Dec 88 22:11:06 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: grunwald@m.cs.uiuc.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 38