Browse Source

Add intrinsics unit for powerpc-darwin and powerpc64-darwin targets

Pierre Muller 2 weeks ago
parent
commit
a50c7bce4e
2 changed files with 14 additions and 0 deletions
  1. 6 0
      rtl/darwin/Makefile
  2. 8 0
      rtl/darwin/Makefile.fpc

+ 6 - 0
rtl/darwin/Makefile

@@ -922,6 +922,12 @@ endif
 ifeq ($(ARCH),aarch64)
 ifeq ($(ARCH),aarch64)
 CPU_UNITS=$(INTRINSICSUNIT)
 CPU_UNITS=$(INTRINSICSUNIT)
 endif
 endif
+ifeq ($(ARCH),powerpc)
+CPU_UNITS=$(INTRINSICSUNIT)
+endif
+ifeq ($(ARCH),powerpc64)
+CPU_UNITS=$(INTRINSICSUNIT)
+endif
 RTL=..
 RTL=..
 INC=$(RTL)/inc
 INC=$(RTL)/inc
 COMMON=$(RTL)/common
 COMMON=$(RTL)/common

+ 8 - 0
rtl/darwin/Makefile.fpc

@@ -59,6 +59,14 @@ ifeq ($(ARCH),aarch64)
 CPU_UNITS=$(INTRINSICSUNIT)
 CPU_UNITS=$(INTRINSICSUNIT)
 endif
 endif
 
 
+ifeq ($(ARCH),powerpc)
+CPU_UNITS=$(INTRINSICSUNIT)
+endif
+
+ifeq ($(ARCH),powerpc64)
+CPU_UNITS=$(INTRINSICSUNIT)
+endif
+
 RTL=..
 RTL=..
 INC=$(RTL)/inc
 INC=$(RTL)/inc
 COMMON=$(RTL)/common
 COMMON=$(RTL)/common