Print this page
5196 The cw wrapper restricts gcc to -O2

*** 17,26 **** --- 17,27 ---- # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # + # Copyright 2014 Gary Mills # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # Configuration and targets for bignum module # specific to AMD 64-bit architecture, amd64.
*** 40,51 **** # # -UHWCAP: # There is only one implementation, because the 128 bit multiply using # general-purpose registers is faster than any MMX or SSE2 implementation. BIGNUM_CFG = -DPSR_MUL ! CFLAGS += -xO4 -xcrossfile $(OBJS_DIR)/bignumimpl.o $(LINTS_DIR)/bignumimpl.ln := \ CPPFLAGS += $(BIGNUM_CFG) $(OBJS_DIR)/bignum_amd64.o $(LINTS_DIR)/bignum_amd64.ln := \ CPPFLAGS += $(BIGNUM_CFG) --- 41,53 ---- # # -UHWCAP: # There is only one implementation, because the 128 bit multiply using # general-purpose registers is faster than any MMX or SSE2 implementation. + COPTFLAG64 = $(ADJUST_OPT2) -_cc=-xO4 -_gcc=-O2 BIGNUM_CFG = -DPSR_MUL ! CFLAGS += -xcrossfile $(OBJS_DIR)/bignumimpl.o $(LINTS_DIR)/bignumimpl.ln := \ CPPFLAGS += $(BIGNUM_CFG) $(OBJS_DIR)/bignum_amd64.o $(LINTS_DIR)/bignum_amd64.ln := \ CPPFLAGS += $(BIGNUM_CFG)