Building Mozilla – CPU optimizations explained

O2
Optimizes code for maximum speed.
More…
Oxs
Optimizations favor smaller code size rather than speed.
More…
GL
Whole program optimization.
More…
G#
Optimizes for a specific processor.
More…
G6
Optimizes for the Pentium Pro, 2, 3, and 4.
G7
Optimizes for the Pentium 4 and Athlon.
arch
Minimum CPU architecture.
More…
SSE
Allows the compiler to use SSE optimizations. A program compiled with this will only be usable on CPUs that support this instruction set.
SSE2
Allows the compiler to use SSE2 optimizations. A program compiled with this will only be usable on CPUs that support this instruction set.

Optimization combinations

-O(1|2|xs) -G[L][F]7 -arch:SSE2
Optimized for Pentium 4, Pentium M, Celeron 1.7GHz+, and Athlon64 with SSE2.
Only works on systems that support the SSE2 instruction set.
-O(1|2|xs) -G[L][F]7 -arch:SSE
Optimized for Athlon XP and some newer Durons with SSE.
* Only works on systems that support the SSE instruction set.
-O(1|2|xs) -G[L][F]6 -arch:SSE
Optimized for Pentium III and Pentium III based Celerons with SSE.
Only works on systems that support the SSE instruction set.
-O(1|2|xs) -G[L][F]7
Optimized for Athlons without SSE.