LARA

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
sav08:bitwidth_analysis [2008/05/20 18:56]
vkuncak
sav08:bitwidth_analysis [2008/05/20 18:58]
vkuncak
Line 3: Line 3:
 Given a language with signed 64 bit integers, determine as small as possible set of bits needed to store values of variables. Given a language with signed 64 bit integers, determine as small as possible set of bits needed to store values of variables.
   * e.g. if analysis derives that a subset of $\{0,​1,​2,​\ldots,​7\}$ is sufficient, then we can use //byte// type to store the value   * e.g. if analysis derives that a subset of $\{0,​1,​2,​\ldots,​7\}$ is sufficient, then we can use //byte// type to store the value
-  * the analysis becomes even more important if we generate hardware from C code (saving wires)+  * the analysis becomes even more important if we generate hardware from C code: analysis would enable us to save circuits and power
  
 Let B = {-32,​-31,​...,​-1,​0,​1,​...,​31} be a set of bits. Let B = {-32,​-31,​...,​-1,​0,​1,​...,​31} be a set of bits.
Line 24: Line 24:
 \] \]
 ++++ ++++
 +
 +Is this the most precise rule possible? ++|No, consider adding only even numbers.++
  
 ===== References ===== ===== References =====