Threadwell

Recent Notes

  • JohannesVuorine

    Aug 26, 2026

    • archive
    • twitter
    • johannesvuorine
  • Threads

    Aug 26, 2026

    • archive
  • iquilezles

    Aug 26, 2026

    • archive
    • twitter
    • iquilezles
Home

❯

Archive

❯

Threads

❯

iquilezles

❯

Hey, don't "optimize" conditional moves with mix()+step().

❯

@iquilezles You didn’t show the compiler assembly for the mix alternative.

@iquilezles You didn’t show the compiler assembly for the mix alternative.

Properties5
typearchive
sourcetwitter
date2025-02-09
tagsarchive, twitter, iquilezles
description@iquilezles You didn’t show the compiler assembly for the mix alternative.

Feb 09, 20251 min read

  • archive
  • twitter
  • iquilezles

Source

  • URL: https://x.com/OtanoStudio/status/1888662052538925226
  • Author: Otano Studio (@OtanoStudio)
  • Posted: 2025-02-09 18:51:37

Branch

1/ @OtanoStudio

@iquilezles

You didn’t show the compiler assembly for the mix alternative. I’m not saying you’re wrong but we can’t verify if only the desired conclusion is shown. I have also heard to never us if statements too and it’s be great to see the assembly to compare.

Related

  • Spine: 2025-02-09-hey-dont-optimize-conditional-moves-with-mix-step

Graph View

  • Source
  • Branch
  • Related

Backlinks

  • Hey, don't "optimize" conditional moves with mix()+step().

Created with Quartz v5.0.0 © 2026

  • GitHub