File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ go get github.com/linux4life798/gobf
1313```
1414
1515## Usage
16- The commandline program currently supports ` compile ` , ` gengo ` ,
16+ The command-line program currently supports ` compile ` , ` gengo ` ,
1717` run ` , and ` dumpil ` actions.
1818
1919Give it a try!
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ func (b *ILBlock) Compress() int {
210210 lastb = ib
211211 }
212212 case ILDataSet :
213- /* Overrive a previous ILDataSet or ILDataAdd(interesting eh?) */
213+ /* Override a previous ILDataSet or ILDataAdd(interesting eh?) */
214214 if lastb != nil {
215215 switch lastb .typ {
216216 case ILDataSet , ILDataAdd :
@@ -242,7 +242,7 @@ func (b *ILBlock) Compress() int {
242242 return int (count )
243243}
244244
245- // isPruneable uses a set of rules to determine id an ILBlock
245+ // isPruneable uses a set of rules to determine if an ILBlock
246246// node is able to be removed.
247247func (b * ILBlock ) isPruneable () bool {
248248 if b == nil {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ check_installed dirname
1818root=" $( dirname $( realpath " $BASH_SOURCE " ) ) "
1919cd " $root "
2020
21- # Generate vectorization's optimial test
21+ # Generate vectorization's optimal test
2222./gen-vector-test.bash > vector-test.b
2323
2424# Examples:
Original file line number Diff line number Diff line change 44# each of which count down from 255 to 0. The inner-most operation
55# is series of +'s in consecutive cells.
66#
7- # The idea is to generate a hand crafet case, where vectorizing the inner-most
7+ # The idea is to generate a handcrafted case, where vectorizing the inner-most
88# operation yields great performance gains.
99
1010
5656vector-content 3 160 | loop 2 | loop 1 | loop 0
5757# vector-content 3 20 | loop 2 | loop 1 | loop 0
5858# vector-content 2 20 | loop 1 | loop 0
59- # vector-content 1 20 | loop 0
59+ # vector-content 1 20 | loop 0
You can’t perform that action at this time.
0 commit comments