summaryrefslogtreecommitdiff
path: root/insert_string_tpl.h
diff options
context:
space:
mode:
authorAdam Stylinski <kungfujesus06@gmail.com>2024-11-27 19:00:52 -0500
committerHans Kristian Rosbach <hk-github@circlestorm.org>2024-12-07 22:32:29 +0100
commit7020cb3f74382c04b7d291a4d99108f088090b1a (patch)
tree95bf7f13ab230b6da3d03f6c1d42faaa29b6c94b /insert_string_tpl.h
parent11bef87c1c795d8498393c1202bcba4b274a2539 (diff)
downloadProject-Tick-7020cb3f74382c04b7d291a4d99108f088090b1a.tar.gz
Project-Tick-7020cb3f74382c04b7d291a4d99108f088090b1a.zip
Enable AVX2 functions to be built with BMI2 instructions
While these are technically different instructions, no such CPU exists that has AVX2 that doesn't have BMI2. Enabling BMI2 allows us to eliminate several flag stalls by having flagless versions of shifts, and allows us to not clobber and move around GPRs so much in scalar code. There's usually a sizeable benefit for enabling it. Since we're building with BMI2 for AVX2 functions, let's also just make sure the CPU claims to support it (just to cover our bases).
Diffstat (limited to 'insert_string_tpl.h')
0 files changed, 0 insertions, 0 deletions