Files
Threadwell/archive/threads/EricLengyel/2011-09-19-1-i-3-causes-a-microcode-stall-on-cell/index.md
T

33 lines
773 B
Markdown

---
title: "@max_mcguire (1 << i) & 3 causes a microcode stall on Cell."
type: archive
source: twitter
source_url: "https://x.com/EricLengyel/status/115927553398685696"
author: "Eric Lengyel"
handle: EricLengyel
post_id: "115927553398685696"
date: 2011-09-19
archived: 2026-08-27
draft: false
tags:
- archive
- twitter
- EricLengyel
description: "@max_mcguire (1 << i) & 3 causes a microcode stall on Cell."
in_reply_to: ""
---
## Source
- URL: https://x.com/EricLengyel/status/115927553398685696
- Author: Eric Lengyel (@EricLengyel)
- Posted: 2011-09-19 23:17:37
## Thread
**1/** **@EricLengyel** ^115927553398685696
**@max_mcguire**
(1 << i) & 3 causes a microcode stall on Cell. A faster alternative, even though 2X the instrs, is (i + 1) & ((i - 2) >> 1).