---
title: SIMD Predicates
link: https://www.computerenhance.com/p/simd-predicates
source: computerenhance-com
published: 2026-08-17T19:58:27Z
updated: 2026-08-17T19:58:27Z
first_seen: 2026-09-19T21:30:23.395188495Z
summary: Although counterintuitive at first, using purpose-built comparison instructions we can easily translate if/else branches into SIMD code.
content: extracted
html: 2026-08-17-simd-predicates.html
preview:
  file: 2026-08-17-simd-predicates.preview-9b7bb4f66cdc.webp
  width: 256
  height: 144
  color: '#2c2b2f'
images:
- source: https://substack-video.s3.amazonaws.com/video_upload/post/211609645/b8cd8243-66cf-4c2d-bfe5-e27986d28406/transcoded-90835.png
  original:
    file: 2026-08-17-simd-predicates.image-f44bc35c5e8b.png
    width: 1920
    height: 1080
  variants:
  - file: 2026-08-17-simd-predicates.image-1e9cd737846f.webp
    width: 320
    height: 180
  - file: 2026-08-17-simd-predicates.image-c113249b563a.webp
    width: 640
    height: 360
  - file: 2026-08-17-simd-predicates.image-013f717ff44d.webp
    width: 960
    height: 540
  - file: 2026-08-17-simd-predicates.image-008e78e66c7a.webp
    width: 1280
    height: 720
  - file: 2026-08-17-simd-predicates.image-27efac61d701.webp
    width: 1600
    height: 900
  - file: 2026-08-17-simd-predicates.image-784045d6479f.webp
    width: 1920
    height: 1080
  color: '#141414'
- source: https://substackcdn.com/image/fetch/$s_!CnMA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53e36de6-4f4b-4f08-8ad8-72eff26f50aa_3840x2160.jpeg
  original:
    file: 2026-08-17-simd-predicates.image-12c18aa80f96.jpg
    width: 1456
    height: 819
  color: '#261a17'
---

Playback speed

×

Share post

Share post at current time

0:00

/

### Paid episode

The full episode is only available to paid subscribers of Computer, Enhance!

Although counterintuitive at first, using purpose-built comparison instructions we can easily translate if/else branches into SIMD code.

Aug 17, 2026

∙ Paid

[![](https://substackcdn.com/image/fetch/$s_!CnMA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53e36de6-4f4b-4f08-8ad8-72eff26f50aa_3840x2160.jpeg)](https://substackcdn.com/image/fetch/$s_!CnMA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53e36de6-4f4b-4f08-8ad8-72eff26f50aa_3840x2160.jpeg)

*This is the fifteenth video in Part 5 of the Performance-Aware Programming series. Please see the [Table of Contents](https://www.computerenhance.com/p/table-of-contents) to quickly navigate through the rest of the course as it is updated, and [the code repository](https://github.com/cmuratori/computer_enhance) for downloadable code listings.*
