[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Help wanted with converting 1 line asm i386->x86_64
- From: Hans de Goede <j w r degoede hhs nl>
- To: Discussion related to Fedora Extras <fedora-extras-list redhat com>
- Subject: Help wanted with converting 1 line asm i386->x86_64
- Date: Fri, 29 Apr 2005 14:22:52 +0200
Hi,
The code in question is:
#elif defined(__GNUC__) && defined(__i386__)
/*
* This is the __linux__ code.
*/
#define P6FENCE \
asm("xchg %%eax, %0" : : "m" (_GlideRoot.p6Fencer) : "eax");
#else
# error "P6 Fencing code needs to be added for this compiler"
#endif
Now the questions are:
-what symbol gets defined instead of __i386__ for x86_64
-is the asm code correct for x86_64
Regards,
Hans
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]