正在加载图片...
Basic Block Example (1) i=m-1 (2) j:=n How many basic blocks in this code (3) t1=4*n fragment? (4) v:=a[t1] (5) i:=i+1 What are they? (6) t2:=4*1 (7) t3:=a[t2] (8) if t3<v goto (5) (9)j:=j-1 (10) t4:=4*j (11) t5:=a[t4] (12) if t5>v goto (9) (13) if i>=j goto(23) (14) t6=4*1 (15) x:=a[t6] 66 Basic Block Example (1) i := m-1 (2) j := n (3) t1 := 4 * n (4) v := a[t1] (5) i := i + 1 (6) t2 := 4 * I (7) t3 := a[t2] (8) if t3 < v goto (5) (9) j := j – 1 (10) t4 :=4 * j (11) t5 := a[t4] (12) if t5 > v goto (9) (13) if i >= j goto (23) (14) t6 := 4 * I (15) x := a[t6] … • How many basic blocks in this code fragment? • What are they?
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有