projects
/
matthijs
/
master-project
/
cλash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ee391f
)
Don't inline alu.
author
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Wed, 4 Mar 2009 10:34:25 +0000
(11:34 +0100)
committer
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Wed, 4 Mar 2009 10:34:25 +0000
(11:34 +0100)
Alu.hs
patch
|
blob
|
history
diff --git
a/Alu.hs
b/Alu.hs
index 0fba3406d9bf55dfb532f93d46144adf58c988cc..adc350f06dff902d2dc8250191f7c692270aa4e5 100644
(file)
--- a/
Alu.hs
+++ b/
Alu.hs
@@
-53,6
+53,7
@@
register_bank (addr, High, d) s = -- Write
type AluOp = Bit
alu :: AluOp -> Bit -> Bit -> Bit
+{-# NOINLINE alu #-}
alu High a b = a `hwand` b
alu Low a b = a `hwor` b