Sfoglia il codice sorgente

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

Pierre Muller 1 settimana fa
parent
commit
a50c7bce4e
2 ha cambiato i file con 14 aggiunte e 0 eliminazioni
  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)
 CPU_UNITS=$(INTRINSICSUNIT)
 endif
+ifeq ($(ARCH),powerpc)
+CPU_UNITS=$(INTRINSICSUNIT)
+endif
+ifeq ($(ARCH),powerpc64)
+CPU_UNITS=$(INTRINSICSUNIT)
+endif
 RTL=..
 INC=$(RTL)/inc
 COMMON=$(RTL)/common

+ 8 - 0
rtl/darwin/Makefile.fpc

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