From:	CRDGW2::CRDGW2::MRGATE::"SMTP::PREP.AI.MIT.EDU::HELP-GCC-REQUEST"  9-MAR-1992 00:34:13.41
To:	ARISIA::EVERHART
CC:	
Subj:	Re: gcc on HPPA (9000/700)

From:	help-gcc-request@prep.ai.mit.edu@SMTP@CRDGW2
To:	Everhart@Arisia@MRGATE

Received:  by crdgw1.ge.com (5.57/GE 1.123)
	 id AA17589; Mon, 9 Mar 92 00:08:04 EST
Received: by life.ai.mit.edu (4.1/AI-4.10) id AA12546; Sun, 8 Mar 92 23:03:18 EST
Return-Path: <help-gcc-request@prep.ai.mit.edu>
Received: from news.cis.ohio-state.edu by life.ai.mit.edu (4.1/AI-4.10) id AA12515; Sun, 8 Mar 92 23:02:40 EST
Received: by news.cis.ohio-state.edu (5.61-kk/5.911008)
	id AA08250; Sun, 8 Mar 92 22:34:14 -0500
Received: from USENET by news.cis.ohio-state.edu with netnews
	for help-gcc@prep.ai.mit.edu (help-gcc@prep.ai.mit.edu);
	contact usenet@news.cis.ohio-state.edu if you have questions.
To: help-gcc@prep.ai.mit.edu
Date: 9 Mar 92 03:26:21 GMT
Message-Id: <1992Mar9.032621.24101@sra.co.jp>
Organization: Software Research Associates, Inc.
From: hikichi@sra.co.jp (Nobuyuki Hikichi)
Sender: help-gcc-request@prep.ai.mit.edu
References: <1992Mar6.220034.21615@ux1.cso.uiuc.edu>, <1992Mar8.080409.20895@sra.co.jp>u
Reply-To: hikichi@sra.co.jp (Nobuyuki Hikichi)
Subject: Re: gcc on HPPA (9000/700)

In article <1992Mar8.080409.20895@sra.co.jp>, hikichi@sra (Nobuyuki Hikichi) writes:
>In article <1992Mar6.220034.21615@ux1.cso.uiuc.edu>, chlg1043@uxa (Christopher H Lee) writes:
>>Has anyone tried porting gcc to the HPPA?
>>apparently, the assembler has some problems during
>>the make process which i can't get a handle on.
>
>I could eliminate assembler's error with following modifications.

I got the report for typo from rms.  Please fix following modification
to my previous post.

				Nobuyuki Hikichi <hikichi@sra.co.jp>
	
>hikichi@srarc2 $ diff -c3 hp800.md /tmp
>*** hp800.md	Wed Jan 29 14:45:52 1992
>--- /tmp/hp800.md	Sun Mar  8 16:51:51 1992
>***************
>*** 416,421 ****
>--- 416,424 ----
>X      {
>X        if (!(GET_CODE (operands[3]) == EQ || GET_CODE (operands[3]) == NE))
>X  	PUT_CODE (operands[3], reverse_relop (GET_CODE (operands[3])));
>+       if (INTVAL (operands[2]) & 0x700)
>+ 	operands[2] = gen_rtx (CONST_INT, VOIDmode, (-1 | 0x7ff) |

+ 	operands[2] = gen_rtx (CONST_INT, VOIDmode, (-1 & ~0x7ff) |

>+ 					  INTVAL (operands[2]));
>X        output_asm_insn (\"comiclr,%N3 %2,%1,%0\;ldi 1,%0\", operands);
>X        return \"\";
>X      }
