inline asm: How to push PIC reg before seven input operands get loaded?

Timothy C Prince tprince@myrealbox.com
Sat Mar 24 20:42:00 GMT 2007



-----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



More information about the Gcc-help mailing list