This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Re: inline asm: How to push PIC reg before seven input operands get loaded?
- From: "Timothy C Prince" <tprince at myrealbox dot com>
- To: lynx dot abraxas at freenet dot de
- Cc: gcc-help at gcc dot gnu dot org, aph at redhat dot com
- Date: Sat, 24 Mar 2007 20:28:51 +0000
- Subject: Re: Re: inline asm: How to push PIC reg before seven input operands get loaded?
- Reply-to: tprince at nospamcomputer dot org
-----Original Message-----
From: lynx.abraxas@freenet.de
To: gcc-help@gcc.gnu.org, Andrew Haley <aph@redhat.com>
Date: Sat, 24 Mar 2007 20:20:56 +0100
Subject: Re: inline asm: How to push PIC reg before seven input operands get loaded?
This is a problem. My task is to tranlate this inline asm written for MSC to
gcc. It's from a big game (Call to Power II, CTP2). I've attached a file with
the function that contains the code. But it won't compile withou a lot
modifications outside the source tree.
________________________________________
Commercial compilers, including icc, have options to accept MS asm and compile for linux. If you're going to spend time on source translation, you'd likely get better results with C.
Tim Prince