remove -msse2 since we don't use SSE2 intrinsics anymore
parent
4c18c1720d
commit
800bd3ad85
|
|
@ -33,7 +33,8 @@ CXXFLAGS += -march=native -mtune=native
|
||||||
else
|
else
|
||||||
# -msse2 is in GCC 3.3, but it causes internal compiler error on salsa.cpp,
|
# -msse2 is in GCC 3.3, but it causes internal compiler error on salsa.cpp,
|
||||||
# so don't use it unless we're at GCC 3.4 or later
|
# so don't use it unless we're at GCC 3.4 or later
|
||||||
CXXFLAGS += -msse2
|
# actually, we're not using SSE2 intrinsics anymore, and -msse2 causes invalid instructions on non-SSE2 CPUs
|
||||||
|
# CXXFLAGS += -msse2
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
@ -79,7 +80,7 @@ ifeq ($(CXX),CC) # override flags for CC (Solaris native C++ compiler)
|
||||||
CXXFLAGS = -DNDEBUG -O -g -native
|
CXXFLAGS = -DNDEBUG -O -g -native
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
ifeq ($(ISX86),1)
|
ifeq ($(ISX86),1)
|
||||||
# SSE2 intrinsics should work in Sun Studio 12
|
# SSE2 intrinsics should work in Sun Studio 12, but we're not using SSE2 intrinsics anymore
|
||||||
# CXXFLAGS += -xarch=sse2 -D__SSE2__
|
# CXXFLAGS += -xarch=sse2 -D__SSE2__
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue