Skip to content

Commit

Permalink
Build OpenSSL et al on 32-bit x86 with -msse2
Browse files Browse the repository at this point in the history
Newer BoringSSL requires SSE2 on 32-bit x86, but I opted to apply it to
all the OpenSSLs that CI builds. This allows the compiler to vectorize
random bits of the library, so hopefully it'll run faster on CI.
Especially with 32-bit x86 being so register-poor.

Additionally, Rust's definition of i686 already assumes SSE2 (see
rust-lang/rust#82435), so there's no sense in
pretending to test pre-SSE2 targets.
  • Loading branch information
davidben committed May 2, 2024
1 parent 8d25aa3 commit bf8c064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ jobs:
;;
"i686-unknown-linux-gnu")
OS_COMPILER=linux-elf
OS_FLAGS=-m32
OS_FLAGS=-m32 -msse2
;;
"arm-unknown-linux-gnueabihf")
OS_COMPILER=linux-armv4
Expand Down

0 comments on commit bf8c064

Please sign in to comment.