Disable AMD64 assembly optimizations. Bug 334057. r=nelson
authornelson%bolyard.com
Tue, 25 Apr 2006 05:51:23 +0000
changeset 6942 9f54cf30768966ad00845080067f9c721b67d26c
parent 6941 fa63be68ccf88bd779589e83952c565ff3f57322
child 6943 faa8c3e5141ef4af8cdd23fcbe16ef8b8cb92e27
child 6947 6fe1bda069f18bd496822fe6854c488518c0c401
push idunknown
push userunknown
push dateunknown
reviewersnelson
bugs334057
Disable AMD64 assembly optimizations. Bug 334057. r=nelson
security/nss/lib/freebl/Makefile
--- a/security/nss/lib/freebl/Makefile
+++ b/security/nss/lib/freebl/Makefile
@@ -127,17 +127,17 @@ endif
 
 ifeq ($(OS_TARGET),Linux)
 ifeq ($(CPU_ARCH),x86_64)
     ASFILES  = arcfour-amd64-gas.s mpi_amd64_gas.s
     ASFLAGS += -march=opteron -m64 -fPIC
     DEFINES += -DNSS_BEVAND_ARCFOUR -DMPI_AMD64 -DMP_ASSEMBLY_MULTIPLY
     DEFINES += -DNSS_USE_COMBA
     DEFINES += -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN
-    DEFINES += -DMPI_AMD64_ADD
+#   DEFINES += -DMPI_AMD64_ADD
     MPI_SRCS += mpi_amd64.c mp_comba.c
 endif
 ifeq ($(CPU_ARCH),x86)
     ASFILES  = mpi_x86.s
     DEFINES += -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE 
     DEFINES += -DMP_ASSEMBLY_DIV_2DX1D
     DEFINES += -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN
     # The floating point ECC code doesn't work on Linux x86 (bug 311432).