Klaus Demo nginx / de27bce
--with-cpu-opt=sparc32 and --with-cpu-opt=sparc64 Igor Sysoev 14 years ago
2 changed file(s) with 17 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
3434 ;;
3535
3636 sun4u | sun4v)
37 # "-xarch=v9" enables the "casa" assembler instruction
38 CPU_OPT="-xarch=v9"
39 CORE_LINK="$CORE_LINK -xarch=v9"
4037 NGX_AUX=" src/os/unix/ngx_sunpro_sparc64.il"
4138 ;;
4239
8077 CPU_OPT="$CPU_OPT -xcache=64/64/2:1024/64/16"
8178 ;;
8279
80 sparc32)
81 # build 32-bit UltraSparc binary
82 CPU_OPT="-m32"
83 CORE_LINK="$CORE_LINK -m32"
84 CC_AUX_FLAGS="$CC_AUX_FLAGS -m32"
85 NGX_CPU_CACHE_LINE=64
86 ;;
87
88 sparc64)
89 # build 64-bit UltraSparc binary
90 CPU_OPT="-m64"
91 CORE_LINK="$CORE_LINK -m64"
92 CC_AUX_FLAGS="$CC_AUX_FLAGS -m64"
93 NGX_CPU_CACHE_LINE=64
94 ;;
95
8396 amd64)
8497 # build 64-bit amd64 binary
8598 CPU_OPT="-xarch=amd64"
135135 #endif
136136
137137
138 #elif ( __sparc__ || __sparcv9 )
138 #elif ( __sparc__ || __sparc || __sparcv9 )
139139
140140 #if (NGX_PTR_SIZE == 8)
141141