Skip to content

Commit 67e5581

Browse files
wilsonkmcostalba
authored andcommitted
Add support for PPC 64bit on Linux
In particular Debian Linux-3.9.8-1- PPC64 No functional change.
1 parent 3ede7da commit 67e5581

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,16 @@ ifeq ($(ARCH),osx-ppc-32)
165165
sse = no
166166
endif
167167

168+
ifeq ($(ARCH),linux-ppc-64)
169+
arch = ppc64
170+
os = any
171+
bits = 64
172+
prefetch = no
173+
bsfq = no
174+
popcnt = no
175+
sse = no
176+
endif
177+
168178
ifeq ($(ARCH),osx-x86-64)
169179
arch = x86_64
170180
os = osx
@@ -397,6 +407,7 @@ help:
397407
@echo "x86-64-modern > x86 64-bit with popcnt support"
398408
@echo "x86-32 > x86 32-bit with SSE support"
399409
@echo "x86-32-old > x86 32-bit fall back for old hardware"
410+
@echo "linux-ppc-64 > PPC-Linux 64 bit"
400411
@echo "osx-ppc-64 > PPC-Mac OS X 64 bit"
401412
@echo "osx-ppc-32 > PPC-Mac OS X 32 bit"
402413
@echo "osx-x86-64 > x86-Mac OS X 64 bit"

0 commit comments

Comments
 (0)