Re: [F4-users] Re: about _asm and __asm macros on opcode
Status: Pre-Alpha
Brought to you by:
starkos
From: Pierre T. <p.t...@wa...> - 2002-08-28 14:51:37
|
Don't forget that, in Opcode, about the only place where I'm using asm is in the triangle-box overlap test, and just for the FCOMI instruction. There's a define in OPC_Settings.h -not- to use this. So just uncomment : #define OPC_USE_FCOMI Then the _asm code should not be used anywhere. Pierre ----- Original Message ----- From: J. Perkins <ja...@37...> To: Charles James Leonardo Quarra Cappiello <cha...@ho...> Cc: <fla...@li...>; <p.t...@wa...> Sent: Wednesday, August 28, 2002 2:22 PM Subject: [F4-users] Re: about _asm and __asm macros on opcode > Charles James Leonardo Quarra Cappiello wrote: > > There are some _asm and __asm extension macros inside opcode source, > > but g++ 2.96 complains about them, i've tried to put > > gcc uses a different syntax for inline assembly than msvc, which is > what Pierre used to write Opcode. In the current version of F4, I > simply #ifdef out the inline assembly when building with gcc and > replace it with matching C code. If you search the Opcode sources > for "379" you should find all of my changes. > > Hope this helps, > > Jason > 379 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Jabber - The world's fastest growing > real-time communications platform! Don't just IM. Build it in! > http://www.jabber.com/osdn/xim > _______________________________________________ > flatfour-users mailing list > fla...@li... > https://lists.sourceforge.net/lists/listinfo/flatfour-users |