This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Alpha Cross compiler


I'm trying to build alpha binaries for a MapReduce framework for
multi-cores called Phoenix++. Phoenix++ is a multi-threaded
application and supports atomic operations like test_and_set and
fetch_and_inc. In fact, these are the operations that are implemented
as inline assembly code.

Mahshid


On Wed, Jan 23, 2013 at 1:09 PM, Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
> Hi!
>
> On Wed, 2013-01-23 13:07:07 -0500, Mahshid Sedghi <mahshid.sedghy@gmail.com> wrote:
>> Thanks for the help. I used -S to generate the assembly code, and by
>> looking at it I realized that one of the header files which are included
>> there uses an inline assembly function for x86. Therefore, Alpha cross
>> compiler is unable to assemble the code since it has x86 specific
>> instructions.
>>
>> So, does that mean that I need to translate those parts manually from x86
>> assembly code to alpha code?
>
> In short: Yes, it does.  With some luck, the software you try to
> compile also ships a generic C version along with the (probably)
> optimized inline assembler. Maybe it's just some configury needed?
>
> What are you actually trying to build?
>
> MfG, JBG
>
> --
>       Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
> Signature of:                   ...und wenn Du denkst, es geht nicht mehr,
> the second  :                          kommt irgendwo ein Lichtlein her.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAlEAJ1MACgkQHb1edYOZ4bu2+ACffMUAk494ZT4gSEnj1rSgx380
> NhYAoIJP2KoPXkdBO6zL6Q0w2QA26/nu
> =KvkC
> -----END PGP SIGNATURE-----
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]