View | Details | Raw Unified | Return to bug 244202
Collapse All | Expand All

(-)files/patch-libraries_libmbwrap_wraptest.cc (+13 lines)
Line 0 Link Here
1
--- libraries/libmbwrap/wraptest.cc.orig	2020-02-17 19:20:23 UTC
2
+++ libraries/libmbwrap/wraptest.cc
3
@@ -321,9 +321,7 @@ static inline unsigned long long rd_CPU_ts(void)
4
 		"\tbne     0b         \n"
5
 		: "=r"(upper),"=r"(lower),"=r"(tmp)
6
 	);
7
-	time = upper;
8
-	time = result << 32;
9
-	time = result|lower;
10
+	time = (upper << 32) | lower;
11
 #endif
12
 	return time;
13
 }

Return to bug 244202