Mercurial > hg > nginx
comparison auto/cc/sunc @ 1308:63fa39cf8bd0
--with-cpu-opt=sparc32 and --with-cpu-opt=sparc64
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 15 Jul 2007 20:09:14 +0000 |
parents | 811fb97b9bf7 |
children | 08c6ee7a1b11 |
comparison
equal
deleted
inserted
replaced
1307:811fb97b9bf7 | 1308:63fa39cf8bd0 |
---|---|
33 | 33 |
34 NGX_AUX=" src/os/unix/ngx_sunpro_x86.il" | 34 NGX_AUX=" src/os/unix/ngx_sunpro_x86.il" |
35 ;; | 35 ;; |
36 | 36 |
37 sun4u | sun4v) | 37 sun4u | sun4v) |
38 # "-xarch=v9" enables the "casa" assembler instruction | |
39 CPU_OPT="-xarch=v9" | |
40 CORE_LINK="$CORE_LINK -xarch=v9" | |
41 NGX_AUX=" src/os/unix/ngx_sunpro_sparc64.il" | 38 NGX_AUX=" src/os/unix/ngx_sunpro_sparc64.il" |
42 ;; | 39 ;; |
43 | 40 |
44 esac | 41 esac |
45 | 42 |
79 CPU_OPT="-xchip=opteron" | 76 CPU_OPT="-xchip=opteron" |
80 #CPU_OPT="$CPU_OPT -xarch=sse2" | 77 #CPU_OPT="$CPU_OPT -xarch=sse2" |
81 CPU_OPT="$CPU_OPT -xcache=64/64/2:1024/64/16" | 78 CPU_OPT="$CPU_OPT -xcache=64/64/2:1024/64/16" |
82 ;; | 79 ;; |
83 | 80 |
81 sparc32) | |
82 # build 32-bit UltraSparc binary | |
83 CPU_OPT="-m32" | |
84 CORE_LINK="$CORE_LINK -m32" | |
85 CC_AUX_FLAGS="$CC_AUX_FLAGS -m32" | |
86 NGX_CPU_CACHE_LINE=64 | |
87 ;; | |
88 | |
89 sparc64) | |
90 # build 64-bit UltraSparc binary | |
91 CPU_OPT="-m64" | |
92 CORE_LINK="$CORE_LINK -m64" | |
93 CC_AUX_FLAGS="$CC_AUX_FLAGS -m64" | |
94 NGX_CPU_CACHE_LINE=64 | |
95 ;; | |
96 | |
84 amd64) | 97 amd64) |
85 # build 64-bit amd64 binary | 98 # build 64-bit amd64 binary |
86 CPU_OPT="-xarch=amd64" | 99 CPU_OPT="-xarch=amd64" |
87 CORE_LINK="$CORE_LINK -xarch=amd64" | 100 CORE_LINK="$CORE_LINK -xarch=amd64" |
88 NGX_AUX=" src/os/unix/ngx_sunpro_amd64.il" | 101 NGX_AUX=" src/os/unix/ngx_sunpro_amd64.il" |