File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
third-party/benchmark/src Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -181,10 +181,11 @@ inline BENCHMARK_ALWAYS_INLINE int64_t Now() {
181
181
#elif defined(__s390__) // Covers both s390 and s390x.
182
182
// Return the CPU clock.
183
183
uint64_t tsc;
184
- #if defined(BENCHMARK_OS_ZOS) && defined(COMPILER_IBMXL)
185
- // z/OS XL compiler HLASM syntax.
184
+ #if defined(BENCHMARK_OS_ZOS)
185
+ // z/OS HLASM syntax.
186
186
asm (" stck %0" : " =m" (tsc) : : " cc" );
187
187
#else
188
+ // Linux on Z syntax.
188
189
asm (" stck %0" : " =Q" (tsc) : : " cc" );
189
190
#endif
190
191
return tsc;
Original file line number Diff line number Diff line change 11
11
#endif
12
12
13
13
#if defined(__clang__ )
14
- #if defined(__ibmxl__ )
15
- #if !defined(COMPILER_IBMXL )
16
- #define COMPILER_IBMXL
17
- #endif
18
- #elif !defined(COMPILER_CLANG )
14
+ #if !defined(COMPILER_CLANG )
19
15
#define COMPILER_CLANG
20
16
#endif
21
17
#elif defined(_MSC_VER )
You can’t perform that action at this time.
0 commit comments