21 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
22 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
23 |
* |
* |
24 |
* $Id: portab.h,v 1.54 2005-01-05 23:02:15 edgomez Exp $ |
* $Id: portab.h,v 1.55 2006-04-26 17:44:29 Skal Exp $ |
25 |
* |
* |
26 |
****************************************************************************/ |
****************************************************************************/ |
27 |
|
|
291 |
*---------------------------------------------------------------------------*/ |
*---------------------------------------------------------------------------*/ |
292 |
# elif defined(ARCH_IS_IA64) |
# elif defined(ARCH_IS_IA64) |
293 |
# define BSWAP(a) __asm__ __volatile__ \ |
# define BSWAP(a) __asm__ __volatile__ \ |
294 |
("mux1 %1 = %0, @rev" ";;" \ |
("mux1 %0 = %1, @rev" ";;" \ |
295 |
"shr.u %1 = %1, 32" : "=r" (a) : "r" (a)); |
"shr.u %0 = %0, 32" : "=r" (a) : "r" (a)); |
296 |
|
|
297 |
static __inline int64_t read_counter(void) |
static __inline int64_t read_counter(void) |
298 |
{ |
{ |