Bug 835293: on Linux x86_64, don't use the assembler flag -march=opteron

because some of the instructions in intel-gcm.s (such as vmovdqu, vpshufb,
vpclmulqdq, vpxor) are not supported on opteron. r=kaie.


git-svn-id: svn://10.0.0.236/trunk@264680 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
wtc%google.com
2013-01-31 01:08:59 +00:00
parent 0f2c37a4cd
commit 51ffd7cde5

View File

@@ -180,7 +180,7 @@ endif # Darwin
ifeq ($(OS_TARGET),Linux)
ifeq ($(CPU_ARCH),x86_64)
ASFILES = arcfour-amd64-gas.s mpi_amd64_gas.s
ASFLAGS += -march=opteron -m64 -fPIC -Wa,--noexecstack
ASFLAGS += -m64 -fPIC -Wa,--noexecstack
DEFINES += -DNSS_BEVAND_ARCFOUR -DMPI_AMD64 -DMP_ASSEMBLY_MULTIPLY
DEFINES += -DNSS_USE_COMBA
DEFINES += -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN