Article View: gnu.gcc.help
Article #46675gcc and Sunsoft's cc -xcg92, what's the difference? (Oracle 7)
From: Joergen Haegg
Date: Tue, 25 Oct 1994 08:52
Date: Tue, 25 Oct 1994 08:52
27 lines
1863 bytes
1863 bytes
Is there any problem with using gcc (2.5.8) together with
objectfiles compiled with Sunsofts cc -xcg92?
(Sunos5.3, compiling Oracle Pro*C-programs)
I had to create an objectfile with the variable __cg92_used defined
to be able to link the programs, otherwise it works fine.
According to the manual, it seems only to be a question of
performance:
-xcg92 Generate code for machines implementing SPARC V8
(such as the SPARCstation-10 series); in particu-
lar, the following instructions may be generated
in-line: smul, smulcc, sdiv, sdivcc, umul, umulcc,
udiv, udivcc, and fsmuld. In addition, the built-
in assembler pass will perform TI,TMS390Z5x-
specific instruction scheduling automatically.
Code compiled with -xcg92 will run, but possibly
much more slowly on pre- SPARC V8 machines; as such
the practice is strongly discouraged.
Could there be any other problem?
--
Joergen Haegg jh@axis.se
Axis Communications AB Snailmail: Axis Communications AB
Phone: +46 46 191849 Scheelevaegen 16
Fax: +46 46 136130 S-223 70 LUND, Sweden
Technical Details
Message-ID:
<38ih1d$ctd@gatekeeper.axis.se>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!news.sprintlink.net!EU.net!sunic!news.lth.se!gatekeeper.axis.se!jhShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,280783f66f781acf,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-10-25 02:30:24 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!news.sprintlink.net!EU.net!sunic!news.lth.se!gatekeeper.axis.se!jh From: jh@axis.se (Joergen Haegg) Newsgroups: gnu.gcc.help Subject: gcc and Sunsoft's cc -xcg92, what's the difference? (Oracle 7) Date: 25 Oct 1994 08:52:44 GMT Organization: Axis Communications AB Lines: 27 Distribution: world Message-ID: <38ih1d$ctd@gatekeeper.axis.se> NNTP-Posting-Host: nevyn.axis.se