thorium-mirror/other/README.md

20 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2024-01-22 18:42:41 -03:00
## Compiler configs for SSE2, SSE3, SSE4.1, and AVX2
2022-08-09 23:04:28 -04:00
2024-04-13 10:15:10 -04:00
This directory contains compiler configurations files and args.gn files for compiling Thorium with:
2022-08-24 23:58:26 -04:00
2024-04-13 10:15:10 -04:00
__SSE2__ > See the [the Wiki page](https://en.wikipedia.org/wiki/SSE2) about it. (For very old processors)
__SSE3__ > See the [the Wiki page](https://en.wikipedia.org/wiki/SSE3) about it. (This is the normal Chromium baseline default)
__SSE4.1__ > See the [the Wiki page](https://en.wikipedia.org/wiki/SSE4#SSE4.1) about it. (SSE4.2 is not used, as only 1st Gen Core supports 4.2 but not AVX)
and
__AVX2__ > See the [the Wiki page](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#Advanced_Vector_Extensions_2) about it. (For modern CPUs)
It also contains config files for MacOS and ChromiumOS/ThoriumOS.
([AVX](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions) is the normal Thorium baseline default)
### Other info
For [Polly](https://polly.llvm.org/) builds, run `build_polly.sh` from [//infra](../infra) first, and then uncomment the `use_polly = true` arg in your args.gn.
For Android or Raspberry Pi builds, see the [//arm](../arm) directory.