Re: jni problem on ARM builder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, 23 August 2016 at 13:26, Dan Horák wrote:
> On Tue, 23 Aug 2016 13:17:54 +0200
> gil <puntogil@xxxxxxxxx> wrote:
> 
> > hi
> > 
> > tried to build https://bugzilla.redhat.com/show_bug.cgi?id=1366839
> > 
> > on arm builder
> > but there is this problem
> > 
> > net_openhft_ticker_impl_JNIClock.cpp:59:25: error: 'rdtsc' was not 
> > declared in this scope
> 
> rdtsc is x86 specific instruction for getting the number of ticks
> (clock), so likely the code in question is x86-specific

I'd suggest looking at how GROMACS does it, for example:

https://github.com/gromacs/gromacs/blob/master/src/gromacs/timing/cyclecounter.h

Do note that the mrrc instruction on ARMv7 will fail with SIGILL,
because it's a kernel-mode instruction:
https://redmine.gromacs.org/issues/1933

Regards,
Dominik
-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux