File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1
1
// 7zAsm.S -- ASM macros for arm64
2
2
// 2021-04-25 : Igor Pavlov : Public domain
3
3
4
+ #if (defined(__arm64__) && __arm64__) || (defined(__arm64) && __arm64)
5
+
4
6
#define r0 x0
5
7
#define r1 x1
6
8
#define r2 x2
@@ -179,3 +181,5 @@ arm64 and arm use reverted c flag after subs/cmp instructions:
179
181
.macro MY_ALIGN_64 macro
180
182
.p2align 6 ,, (1 << 6 ) - 1
181
183
.endm
184
+
185
+ #endif
Original file line number Diff line number Diff line change 10
10
; LzmaDec_DecodeReal_*() must be equal in both versions (C / ASM).
11
11
* /
12
12
13
+ #if (defined(__arm64__) && __arm64__) || (defined(__arm64) && __arm64)
13
14
14
15
#include "7zAsm.S"
15
16
@@ -1485,3 +1486,5 @@ fin:
1485
1486
.ident "TAG_LZMA"
1486
1487
. section .note.GNU - stack , "" , @progbits
1487
1488
* /
1489
+
1490
+ #endif
You can’t perform that action at this time.
0 commit comments