New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPX_WITH_RDTSC configure test fails, but should succeed #1244

Closed
eschnett opened this Issue Sep 5, 2014 · 3 comments

Comments

Projects
None yet
3 participants
@eschnett
Contributor

eschnett commented Sep 5, 2014

I have an Intel MacBook Pro. It supports the rdtsc instruction. However, HPX reports:

-- Performing Test HPX_WITH_RDTSC - Failed

This is one way to use rdtsc that works on my system:

unsigned long long rdtsc(void)
{
  unsigned long eax, edx;
  asm volatile ("rdtsc" : "=a" (eax), "=d" (edx));
  return (unsigned long long) edx << 32 | eax;
}

@hkaiser hkaiser added this to the 0.9.9 milestone Sep 5, 2014

@hkaiser

This comment has been minimized.

Show comment
Hide comment
@hkaiser

hkaiser Sep 5, 2014

Member

What compiler are you using here? Do you think you could fix the test program (https://github.com/STEllAR-GROUP/hpx/blob/master/cmake/tests/cpuid.cpp) for your platform and submit a pull request?

Member

hkaiser commented Sep 5, 2014

What compiler are you using here? Do you think you could fix the test program (https://github.com/STEllAR-GROUP/hpx/blob/master/cmake/tests/cpuid.cpp) for your platform and submit a pull request?

@sithhell

This comment has been minimized.

Show comment
Hide comment
@sithhell

sithhell Sep 8, 2014

Member

Is this fixed now?

Member

sithhell commented Sep 8, 2014

Is this fixed now?

@hkaiser

This comment has been minimized.

Show comment
Hide comment
@hkaiser

hkaiser Sep 8, 2014

Member

Thomas, please see #1246.

Member

hkaiser commented Sep 8, 2014

Thomas, please see #1246.

@hkaiser hkaiser closed this Sep 8, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment