Skip to content

Instantly share code, notes, and snippets.

View xry111's full-sized avatar
😿
in an empty house

Xi Ruoyao xry111

😿
in an empty house
View GitHub Profile
diff --git a/gas/NEWS b/gas/NEWS
index cf4e8ff7c95..d699a78b50d 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -66,6 +66,37 @@ Changes in 2.42:
* The BPF assembler now allows using both hash (#) and double slash (//) to
begin line comments.
+* Add support for LoongArch v1.10 new instructions: estimated reciprocal
+ instructions, sub-word atomic instructions, atomic CAS instructions,
diff --color -Naur firefox-91.8.0.orig/build/moz.configure/init.configure firefox-91.8.0.patched/build/moz.configure/init.configure
--- firefox-91.8.0.orig/build/moz.configure/init.configure 2022-03-31 03:25:29.000000000 +0800
+++ firefox-91.8.0.patched/build/moz.configure/init.configure 2022-04-21 19:24:15.397434052 +0800
@@ -753,6 +753,9 @@
elif cpu.startswith("arm"):
canonical_cpu = "arm"
endianness = "big" if cpu.startswith(("armeb", "armbe")) else "little"
+ elif cpu in ("loongarch64"):
+ canonical_cpu = "loongarch64"
+ endianness = "little"