From e0ab1b3a6fe5205c1d41b91de66254f0c1b46b36 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Mon, 20 Jan 2025 10:02:24 -0800 Subject: more readme updates --- chapter15/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter15') 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. -- cgit v1.2.3