Lines 1-42
Link Here
|
1 |
--- Makefile.orig 2014-08-27 20:45:08 UTC |
1 |
--- Makefile.orig 2015-06-30 00:19:51 UTC |
2 |
+++ Makefile |
2 |
+++ Makefile |
3 |
@@ -85,12 +85,12 @@ X86SRC0 += sad-a.asm |
3 |
@@ -87,12 +87,12 @@ X86SRC0 += sad-a.asm |
4 |
endif |
4 |
endif |
5 |
X86SRC = $(X86SRC0:%=common/x86/%) |
5 |
X86SRC = $(X86SRC0:%=common/x86/%) |
6 |
|
6 |
|
7 |
-ifeq ($(ARCH),X86) |
7 |
-ifeq ($(SYS_ARCH),X86) |
8 |
+ifeq ($(ARCH),i386) |
8 |
+ifeq ($(SYS_ARCH),i386) |
9 |
ARCH_X86 = yes |
9 |
ARCH_X86 = yes |
10 |
ASMSRC = $(X86SRC) common/x86/pixel-32.asm |
10 |
ASMSRC = $(X86SRC) common/x86/pixel-32.asm |
11 |
endif |
11 |
endif |
12 |
|
12 |
|
13 |
-ifeq ($(ARCH),X86_64) |
13 |
-ifeq ($(SYS_ARCH),X86_64) |
14 |
+ifeq ($(ARCH),amd64) |
14 |
+ifeq ($(SYS_ARCH),amd64) |
15 |
ARCH_X86 = yes |
15 |
ARCH_X86 = yes |
16 |
ASMSRC = $(X86SRC:-32.asm=-64.asm) common/x86/trellis-64.asm |
16 |
ASMSRC = $(X86SRC:-32.asm=-64.asm) common/x86/trellis-64.asm |
17 |
endif |
17 |
endif |
18 |
@@ -104,7 +104,14 @@ endif |
18 |
@@ -106,7 +106,7 @@ endif |
19 |
endif |
19 |
endif |
20 |
|
20 |
|
21 |
# AltiVec optims |
21 |
# AltiVec optims |
22 |
-ifeq ($(ARCH),PPC) |
22 |
-ifeq ($(SYS_ARCH),PPC) |
23 |
+ifeq ($(ARCH),powerpc) |
23 |
+ifeq ($(SYS_ARCH),powerpc) |
24 |
+ARCH_PPC = yes |
|
|
25 |
+endif |
26 |
+ifeq ($(ARCH),powerpc64) |
27 |
+ARCH_PPC = yes |
28 |
+endif |
29 |
+ |
30 |
+ifdef ARCH_PPC |
31 |
ifneq ($(AS),) |
24 |
ifneq ($(AS),) |
32 |
SRCS += common/ppc/mc.c common/ppc/pixel.c common/ppc/dct.c \ |
25 |
SRCS += common/ppc/mc.c common/ppc/pixel.c common/ppc/dct.c \ |
33 |
common/ppc/quant.c common/ppc/deblock.c \ |
26 |
common/ppc/quant.c common/ppc/deblock.c \ |
34 |
@@ -113,7 +120,7 @@ endif |
27 |
@@ -115,7 +115,7 @@ endif |
35 |
endif |
28 |
endif |
36 |
|
29 |
|
37 |
# NEON optims |
30 |
# NEON optims |
38 |
-ifeq ($(ARCH),ARM) |
31 |
-ifeq ($(SYS_ARCH),ARM) |
39 |
+ifeq ($(ARCH),armv6) |
32 |
+ifeq ($(SYS_ARCH),armv6) |
40 |
ifneq ($(AS),) |
33 |
ifneq ($(AS),) |
41 |
ASMSRC += common/arm/cpu-a.S common/arm/pixel-a.S common/arm/mc-a.S \ |
34 |
ASMSRC += common/arm/cpu-a.S common/arm/pixel-a.S common/arm/mc-a.S \ |
42 |
common/arm/dct-a.S common/arm/quant-a.S common/arm/deblock-a.S \ |
35 |
common/arm/dct-a.S common/arm/quant-a.S common/arm/deblock-a.S \ |
|
|
36 |
@@ -126,7 +126,7 @@ endif |
37 |
endif |
38 |
|
39 |
# AArch64 NEON optims |
40 |
-ifeq ($(SYS_ARCH),AARCH64) |
41 |
+ifeq ($(SYS_ARCH),arm64) |
42 |
ifneq ($(AS),) |
43 |
ASMSRC += common/aarch64/bitstream-a.S \ |
44 |
common/aarch64/cabac-a.S \ |