mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
change extension in sum example
This commit is contained in:
parent
d272f0896b
commit
a9dc36e0eb
@ -9,7 +9,7 @@ function w $sum(l %arr, w %num) {
|
||||
%c =w csle %n1, 0
|
||||
jnz %c, @end, @loop1
|
||||
@loop1
|
||||
%idx0 =l extuw %n2
|
||||
%idx0 =l extsw %n2
|
||||
%idx1 =l mul 4, %idx0
|
||||
%idx2 =l add %idx1, %arr
|
||||
%w =w loadw %idx2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user