Revision b8076a74 vl.c

b/vl.c
519 519
    return val;
520 520
}
521 521

  
522
#elif defined(__ia64)
523

  
524
int64_t cpu_get_real_ticks(void)
525
{
526
	int64_t val;
527
	asm volatile ("mov %0 = ar.itc" : "=r"(val) :: "memory");
528
	return val;
529
}
530

  
522 531
#else
523 532
#error unsupported CPU
524 533
#endif

Also available in: Unified diff