diff options
| author | Cliff Click <cliffc@acm.org> | 2025-01-20 10:02:24 -0800 |
|---|---|---|
| committer | Cliff Click <cliffc@acm.org> | 2025-01-20 10:02:24 -0800 |
| commit | e0ab1b3a6fe5205c1d41b91de66254f0c1b46b36 (patch) | |
| tree | 28df0dbc7c6f8b9f0ca59761aa3e3aff9c1073cd /chapter15/README.md | |
| parent | cfecd341531f29ba7d67decdd907071a9e49cf60 (diff) | |
| download | Simple-e0ab1b3a6fe5205c1d41b91de66254f0c1b46b36.tar.gz Simple-e0ab1b3a6fe5205c1d41b91de66254f0c1b46b36.zip | |
more readme updates
Diffstat (limited to 'chapter15/README.md')
| -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. |
