diff options
Diffstat (limited to 'chapter15')
| -rw-r--r-- | chapter15/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter15/README.md b/chapter15/README.md index d0f2ce60..63305367 100644 --- a/chapter15/README.md +++ b/chapter15/README.md @@ -168,7 +168,7 @@ This means the IR for: becomes `Load(mem,x,Add(Shl(i,3),16))` - `x[i+1]` becomes `16/*base*/ + ((i+1) << 3/*scale*)` becomes + `x[i+1]` becomes `16/*base*/ + ((i+1) << 3/*scale*/)` becomes `Load(mem,x,Add(Shl(i,3),24))` Notice the `idx+1` folds the `+1` into the base math. |
