https://build.opensuse.org/package/view_file/openSUSE:Factory/mozjs17/mozjs-aarch64-support.patch index c071c33..90764c3 100644 --- a/js/src/assembler/jit/ExecutableAllocator.h +++ b/js/src/assembler/jit/ExecutableAllocator.h @@ -382,6 +382,12 @@ public: { reprotectRegion(start, size, Executable); } +#elif WTF_CPU_AARCH64 && WTF_PLATFORM_LINUX + static void cacheFlush(void* code, size_t size) + { + intptr_t end = reinterpret_cast(code) + size; + __builtin___clear_cache(reinterpret_cast(code), reinterpret_cast(end)); + } #else static void makeWritable(void*, size_t) {} static void makeExecutable(void*, size_t) {} diff --git a/js/src/assembler/wtf/Platform.h b/js/src/assembler/wtf/Platform.h index 0c84896..e8763a7 100644 --- a/js/src/assembler/wtf/Platform.h +++ b/js/src/assembler/wtf/Platform.h @@ -325,6 +325,10 @@ #define WTF_THUMB_ARCH_VERSION 0 #endif +/* CPU(AArch64) - 64-bit ARM */ +#if defined(__aarch64__) +#define WTF_CPU_AARCH64 1 +#endif /* WTF_CPU_ARMV5_OR_LOWER - ARM instruction set v5 or earlier */ /* On ARMv5 and below the natural alignment is required. diff --git a/js/src/configure.in b/js/src/configure.in index 15605b2..19fd704 100644 --- a/js/src/configure.in +++ b/js/src/configure.in @@ -1121,6 +1121,10 @@ arm*) CPU_ARCH=arm ;; +aarch64) + CPU_ARCH=aarch64 + ;; + mips|mipsel) CPU_ARCH="mips" ;; diff --git a/mfbt/double-conversion/utils.h b/mfbt/double-conversion/utils.h index 0eec2d9..fe26dab 100644 --- a/mfbt/double-conversion/utils.h +++ b/mfbt/double-conversion/utils.h @@ -58,6 +58,7 @@ defined(__mips__) || defined(__powerpc__) || \ defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ defined(__SH4__) || defined(__alpha__) || \ + defined(__aarch64__) || \ defined(_MIPS_ARCH_MIPS32R2) #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 #elif defined(_M_IX86) || defined(__i386__) || defined(__i386) 2893923dcaa24f'>root/tests/ui.scm
AgeCommit message (Expand)Author
2020-03-25tests: Adjust to 'show-manifest-transaction' changes....This is a followup to 3e5ab0a7a9399bb098b9ced46bf3cbf4085c6bab. * tests/ui.scm ("show-manifest-transaction"): Update regexp. * tests/guix-package.sh: Adjust Emacs regexp in --with-source test. Ludovic Courtès
2020-02-23ui: (size->number "1.M") is correctly parsed....Reported by Pierre Neidhardt <mail@ambrevar.xyz>. * guix/ui.scm (size->number)[unit-pos]: Add #\. to CHAR-SET:DIGIT. * tests/ui.scm ("size->number, 1.M"): New test. Ludovic Courtès
2019-09-19ui: 'relevance' connects regexps with a logical and....Fixes <https://bugs.gnu.org/36763>. Previously, the logical and connecting the regexps did not output the expected results (introduced in 8874faaaac665100a095ef25e39c9a389f5a397f). * guix/ui.scm (relevance) [score]: Change its arguments. [regexp->score]: New procedure. * tests/ui.scm ("package-relevance"): Add test. Signed-off-by: Ludovic Courtès <ludo@gnu.org> zimoun
2019-06-27ui: 'relevance' considers regexps connected with a logical and....* guix/ui.scm (relevance)[score]: Change to return 0 when one of REGEXPS doesn't match. * tests/ui.scm ("package-relevance"): New test. Ludovic Courtès
2017-05-10ui: 'string->duration' correctly handles hours....* guix/ui.scm (string->duration): Add missing '=>' for hours. * tests/ui.scm ("duration, 2 hours"): New test. Ludovic Courtès
2017-03-08ui: Don't use '%default-port-encoding' to set the encoding of string ports....* guix/ui.scm (right-arrow): Call 'set-port-encoding!' to set PORT's encoding; remove use of 'with-fluids'. This is for compatibility with Guile 2.2 where the encoding of string ports is not influenced by %DEFAULT-PORT-ENCODING. * tests/ui.scm ("show-manifest-transaction"): Likewise. Ludovic Courtès