5923
|
1 |
SPARC should be recognized as a 64-bit CPU. Nothing seems to break with or
|
|
2 |
without this patch, but a few dictionary sizes are bigger with it, and the
|
|
3 |
banner changes to indicate the 64-bitness.
|
|
4 |
|
|
5 |
This is suitable for passing upstream.
|
|
6 |
|
|
7 |
--- p7zip_15.14.1/C/CpuArch.h 2016-02-16 22:27:16.000000000 -0800
|
|
8 |
+++ p7zip_15.14.1/C/CpuArch.h 2016-04-22 17:34:27.655604054 -0700
|
|
9 |
@@ -27,7 +27,8 @@
|
|
10 |
#if defined(MY_CPU_AMD64) \
|
|
11 |
|| defined(_M_IA64) \
|
|
12 |
|| defined(__AARCH64EL__) \
|
|
13 |
- || defined(__AARCH64EB__)
|
|
14 |
+ || defined(__AARCH64EB__) \
|
|
15 |
+ || defined(__sparcv9)
|
|
16 |
#define MY_CPU_64BIT
|
|
17 |
#endif
|
|
18 |
|