Commit 0ba962c1 authored by Andrew Waterman's avatar Andrew Waterman
Browse files

Use memory constraints instead of memory clobbers

The benefit is twofold.  First, using "m"(x) instead of "r"(&x) allows
the compiler to use displacement addressing instead of just register
indirect, which can remove an ADDI.  Second, the memory clobber is a
heavy hammer that forces reloading unrelated variables from memory.
parent 56a137c8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment