Nugget
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
gen.py File Reference

Namespaces

namespace  gen
 

Functions

 gen.copy_fn (B, U)
 
 gen.set_fn (U)
 
 gen.build ()
 

Variables

str gen.LICENSE
 
list gen.COPIES = [(2, 2), (4, 4), (8, 8), (8, 16), (8, 32), (2, 32), (4, 32), (16, 16), (16, 32)]
 
list gen.SETS = [1, 2, 4, 8, 16, 32, 64]
 
list gen.TREGS = ["$t%d" % i for i in range(8)]
 
list gen.SREGS = ["$s%d" % i for i in range(8)]
 
 gen.text = build()
 
 gen.cur = open("kernels.s").read()