🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41493

How to compile gcc for Sun V9 architecture?

#41493
From: G.Ramian
Date: Fri, 22 Mar 1996 00:00
22 lines
1317 bytes
Could someone explain how to compile gcc for V9 architecture?.
I tried adding -DSPARCV9 to CFLAGS.  This caused a number of errors
that look like:

-------------------
/libgcc2.c:1130: internal error--insn does not satisfy its constraints:
(insn 67 64 23 (set (reg:SI 96 %fcc0)
        (mem:SI (plus:SI (reg:SI 14 %sp)
                (const_int 80)))) 106 {*movsi_insn} (insn_list 64 (nil))
    (nil))
xgcc: Internal compiler error: program cc1 got fatal signal 6
-------------------

I got around these mostly by commenting out things in libgcc2.c
The problem is that the gcc compiled this way produces code that does not
run any better than that compiled with the gcc compiled for v7 architecture.  Although floating point is good, integer performance of code compiled this
way is identical and still poor.  (This is gcc2.7.2 and a Sun US1)


						Jerry
						ramian@sbfel3.ucsb.edu
						http://sbfel3.ucsb.edu/
Technical Details
Message-ID: <4ist8b$rp@yuggoth.ucsb.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,dd56dc7994406578,start
X-Google-Attributes: gid11318c,public
From: G.Ramian <ramian@sbfel3>
Subject: How to compile gcc for Sun V9 architecture?
Date: 1996/03/22
Message-ID: <4ist8b$rp@yuggoth.ucsb.edu>
X-Deja-AN: 143473865
organization: University of California, Santa Barbara
newsgroups: gnu.gcc.help