mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-07 01:06:48 +08:00
# unfck lint
This commit is contained in:
parent
d0c7def24d
commit
3ae6d3c2b3
@ -130,7 +130,8 @@ struct event_collector {
|
|||||||
LinuxEvents<PERF_TYPE_HARDWARE> linux_events;
|
LinuxEvents<PERF_TYPE_HARDWARE> linux_events;
|
||||||
|
|
||||||
event_collector()
|
event_collector()
|
||||||
: linux_events(std::array<unsigned long long, 4 /*event_counter_types_size*/>{
|
: linux_events(std::array<unsigned long long,
|
||||||
|
4 /*event_counter_types_size*/>{
|
||||||
PERF_COUNT_HW_CPU_CYCLES, PERF_COUNT_HW_INSTRUCTIONS,
|
PERF_COUNT_HW_CPU_CYCLES, PERF_COUNT_HW_INSTRUCTIONS,
|
||||||
PERF_COUNT_HW_BRANCH_INSTRUCTIONS, // Retired branch instructions
|
PERF_COUNT_HW_BRANCH_INSTRUCTIONS, // Retired branch instructions
|
||||||
PERF_COUNT_HW_BRANCH_MISSES}) {}
|
PERF_COUNT_HW_BRANCH_MISSES}) {}
|
||||||
|
|||||||
@ -180,7 +180,7 @@ using parse_options = parse_options_t<char>;
|
|||||||
(defined(_M_AMD64) || defined(_M_X64) || \
|
(defined(_M_AMD64) || defined(_M_X64) || \
|
||||||
(defined(_M_IX86_FP) && _M_IX86_FP == 2)))
|
(defined(_M_IX86_FP) && _M_IX86_FP == 2)))
|
||||||
// try to fix error on x86 platform: disable SSE2 code
|
// try to fix error on x86 platform: disable SSE2 code
|
||||||
//#define FASTFLOAT_SSE2 1
|
// #define FASTFLOAT_SSE2 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__aarch64__) || defined(_M_ARM64)
|
#if defined(__aarch64__) || defined(_M_ARM64)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user