Rename PPC feature tests to test_ppc_xxx.cxx (PR #737)

pull/739/head
Jeffrey Walton 2018-11-12 15:43:01 -05:00
parent ff212dae3e
commit cac97f041d
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
4 changed files with 7 additions and 7 deletions

View File

@ -604,7 +604,7 @@ ifeq ($(DETECT_FEATURES),1)
# get XLC defines. The POWER8 really jambs us up for ppc_simd.cpp # get XLC defines. The POWER8 really jambs us up for ppc_simd.cpp
# which needs ALTIVEC/POWER4. We have similar problems with POWER7. # which needs ALTIVEC/POWER4. We have similar problems with POWER7.
ifeq ($(XLC_COMPILER)$(findstring -qxlcompatmacros,$(CXXFLAGS)),1) ifeq ($(XLC_COMPILER)$(findstring -qxlcompatmacros,$(CXXFLAGS)),1)
TPROG = TestPrograms/test_altivec.cxx TPROG = TestPrograms/test_ppc_altivec.cxx
TOPT = -qxlcompatmacros TOPT = -qxlcompatmacros
HAVE_OPT = $(shell $(CXX) $(CXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) 2>&1 | $(GREP) -i -c -E $(BAD_RESULT)) HAVE_OPT = $(shell $(CXX) $(CXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) 2>&1 | $(GREP) -i -c -E $(BAD_RESULT))
ifeq ($(HAVE_OPT),0) ifeq ($(HAVE_OPT),0)
@ -613,7 +613,7 @@ ifeq ($(DETECT_FEATURES),1)
endif endif
# GCC and some compatibles # GCC and some compatibles
TPROG = TestPrograms/test_power8.cxx TPROG = TestPrograms/test_ppc_power8.cxx
TOPT = -mcpu=power8 -maltivec TOPT = -mcpu=power8 -maltivec
HAVE_OPT = $(shell $(CXX) $(CXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) 2>&1 | $(GREP) -i -c -E $(BAD_RESULT)) HAVE_OPT = $(shell $(CXX) $(CXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) 2>&1 | $(GREP) -i -c -E $(BAD_RESULT))
ifeq ($(HAVE_OPT),0) ifeq ($(HAVE_OPT),0)
@ -632,7 +632,7 @@ ifeq ($(DETECT_FEATURES),1)
endif endif
# GCC and some compatibles # GCC and some compatibles
TPROG = TestPrograms/test_power7.cxx TPROG = TestPrograms/test_ppc_power7.cxx
TOPT = -mcpu=power7 -maltivec TOPT = -mcpu=power7 -maltivec
HAVE_OPT = $(shell $(CXX) $(CXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) 2>&1 | $(GREP) -i -c -E $(BAD_RESULT)) HAVE_OPT = $(shell $(CXX) $(CXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) 2>&1 | $(GREP) -i -c -E $(BAD_RESULT))
ifeq ($(HAVE_OPT),0) ifeq ($(HAVE_OPT),0)
@ -647,7 +647,7 @@ ifeq ($(DETECT_FEATURES),1)
endif endif
# GCC and some compatibles # GCC and some compatibles
TPROG = TestPrograms/test_altivec.cxx TPROG = TestPrograms/test_ppc_altivec.cxx
TOPT = -mcpu=power4 -maltivec TOPT = -mcpu=power4 -maltivec
HAVE_OPT = $(shell $(CXX) $(CXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) 2>&1 | $(GREP) -i -c -E $(BAD_RESULT)) HAVE_OPT = $(shell $(CXX) $(CXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) 2>&1 | $(GREP) -i -c -E $(BAD_RESULT))
ifeq ($(HAVE_OPT),0) ifeq ($(HAVE_OPT),0)
@ -667,7 +667,7 @@ ifeq ($(DETECT_FEATURES),1)
endif endif
# IBM XL C/C++ # IBM XL C/C++
TPROG = TestPrograms/test_power8.cxx TPROG = TestPrograms/test_ppc_power8.cxx
TOPT = -qarch=pwr8 -qaltivec TOPT = -qarch=pwr8 -qaltivec
HAVE_OPT = $(shell $(CXX) $(CXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) 2>&1 | $(GREP) -i -c -E $(BAD_RESULT)) HAVE_OPT = $(shell $(CXX) $(CXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) 2>&1 | $(GREP) -i -c -E $(BAD_RESULT))
ifeq ($(HAVE_OPT),0) ifeq ($(HAVE_OPT),0)
@ -686,7 +686,7 @@ ifeq ($(DETECT_FEATURES),1)
endif endif
# IBM XL C/C++ # IBM XL C/C++
TPROG = TestPrograms/test_power7.cxx TPROG = TestPrograms/test_ppc_power7.cxx
TOPT = -qarch=pwr7 -qaltivec TOPT = -qarch=pwr7 -qaltivec
HAVE_OPT = $(shell $(CXX) $(CXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) 2>&1 | $(GREP) -i -c -E $(BAD_RESULT)) HAVE_OPT = $(shell $(CXX) $(CXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) 2>&1 | $(GREP) -i -c -E $(BAD_RESULT))
ifeq ($(HAVE_OPT),0) ifeq ($(HAVE_OPT),0)
@ -701,7 +701,7 @@ ifeq ($(DETECT_FEATURES),1)
endif endif
# IBM XL C/C++ # IBM XL C/C++
TPROG = TestPrograms/test_altivec.cxx TPROG = TestPrograms/test_ppc_altivec.cxx
TOPT = -qarch=pwr4 -qaltivec TOPT = -qarch=pwr4 -qaltivec
HAVE_OPT = $(shell $(CXX) $(CXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) 2>&1 | $(GREP) -i -c -E $(BAD_RESULT)) HAVE_OPT = $(shell $(CXX) $(CXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) 2>&1 | $(GREP) -i -c -E $(BAD_RESULT))
ifeq ($(HAVE_OPT),0) ifeq ($(HAVE_OPT),0)