Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reformat code with astyle + fix code style | Tomasz Frydrych | 2017-05-01 | 1 | -2/+6 |
| | |||||
* | Merge GH #915 Fix OS::get_processor_timestamp() | Jack Lloyd | 2017-03-19 | 1 | -1/+2 |
|\ | |||||
| * | Fix OS::get_processor_timestamp() tests | Daniel Neus | 2017-03-14 | 1 | -1/+2 |
| | | |||||
* | | No C++ exceptions from cpu probe functions. See GH #920 | Jack Lloyd | 2017-03-19 | 1 | -4/+0 |
|/ | |||||
* | Fix test for 32-bit builds | Jack Lloyd | 2017-01-28 | 1 | -2/+2 |
| | |||||
* | Change meaning of get_processor_timestamp | Jack Lloyd | 2017-01-27 | 1 | -12/+52 |
| | | | | | | | | | | | Now let it return 0 if we have no hardware timestamp, and add OS::get_high_resolution_clock for best available clock. This is mainly because it's confusing for get_processor_timestamp to return something that is not a processor timestamp and because it simplifies adding cycles/byte output if we know that something is or is not a cycle counter. Also adds Windows SEH version of run_cpu_instruction_probe. Untested, uncompiled. | ||||
* | Fix various SunCC and Solaris warnings and build problems. | Jack Lloyd | 2017-01-24 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | Based on build output sent by @noloader. If RLIMIT_MEMLOCK is not defined, assume regular user is not able to call mlock. This probably also affected Clang/GCC on Solaris. Work around resolution issue in SIMD_4x32 where it finds ambiguity between arg taking uint32_t and __m128i. This is probably some artifact of how SunCC represents vector types, and seems highly bogus in general but is easy to work around here. Change constructor taking a single value to instead be `SIMD_4x32::splat` function. The SIMD class is internal, so no API implications. Fix various warnings about lambda functions that were missing return types and which were not a single return statement. AIUI C++11 doesn't guarantee that lambda return type will be deduced in that situation, though in practice every compiler including SunCC seems to handle it. Disable AVX2 usage, since SunCC's intrinsics seem to be broken - its _mm_loadu_si256 takes non-const pointer. Rename a few variables in the tests to avoid shadowed var warnings. | ||||
* | Skip instruction probe test where fn not implemented | Jack Lloyd | 2017-01-23 | 1 | -0/+5 |
| | |||||
* | Add basic test for OS utils | Jack Lloyd | 2017-01-22 | 1 | -0/+147 |
Mainly driven by missing test for OS::run_cpu_instruction_probe. Currently only works on x86 and ARM. Tested on x86-64 native and aarch64 qemu. |