This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta http-equiv="Content-Style-Type" content="text/css"> | |
<meta name="generator" content="Aspose.Words for .NET 22.3.0"> | |
<title>7-Zip</title> | |
<style type="text/css">body { font-family:Verdana; font-size:9.5pt }h1, h2, h3, h4, h5, h6, p { margin:0pt }li, table { margin-top:0pt; margin-bottom:0pt }h1 { margin-top:12pt; margin-bottom:0pt; page-break-inside:avoid; page-break-after:avoid; font-family:Verdana; font-size:17.5pt; font-weight:bold; font-style:normal; color:#2f5496 }h2 { margin-top:2pt; margin-bottom:0pt; page-break-inside:avoid; page-break-after:avoid; font-family:Verdana; font-size:15.5pt; font-weight:bold; font-style:normal; color:#2f5496 }h3 { margin-top:2pt; margin-bottom:0pt; page-break-inside:avoid; page-break-after:avoid; font-family:Verdana; font-size:14pt; font-weight:bold; font-style:normal; color:#1f3763 }h4 { margin-top:2pt; margin-bottom:0pt; page-break-inside:avoid; page-break-aft |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/common/RTMath.cpp 2021-12-25 18:37:48.733719298 +0800 | |
+++ b/src/common/RTMath.cpp 2021-12-25 21:54:21.914927577 +0800 | |
@@ -73,6 +73,10 @@ | |
return t; | |
#elif defined(__APPLE__) | |
return (time_stamp_t) mach_absolute_time(); | |
+ #elif defined(__loongarch64) | |
+ uint64_t t; | |
+ __asm__ __volatile__ ("rdtime.d %0, $zero":"=r"(t)); | |
+ return time_stamp_t(t>>8); |