summaryrefslogtreecommitdiff
path: root/thesis/two-bits.tex
diff options
context:
space:
mode:
authorCamil Staps2016-11-22 23:56:49 +0100
committerCamil Staps2016-11-22 23:56:49 +0100
commit45e52506a41870afa57389fe9741e6bfd57408e8 (patch)
treede00843e9992c2285716a191db5c377acd7dbecd /thesis/two-bits.tex
parentStoring PC: comparison (diff)
More intro; draft mode
Diffstat (limited to 'thesis/two-bits.tex')
-rw-r--r--thesis/two-bits.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/thesis/two-bits.tex b/thesis/two-bits.tex
index fcd4046..56e7c45 100644
--- a/thesis/two-bits.tex
+++ b/thesis/two-bits.tex
@@ -1,4 +1,4 @@
-\section{Two bits}
+\section{Code addresses}
\label{sec:two-bits}
\begin{multicols}{2}
@@ -44,7 +44,8 @@ Flipping the meaning of the LSB in the copying collector fixes this issue.
\subsection{Comparison}
\label{sec:two-bits:comparison}
-Flipping the meaning of the LSB in the garbage collector amounts to swapping \ual{bne} and \ual{beq} and similar changes that do not effect the program's efficiency.
+Flipping the meaning of the LSB in the garbage collector amounts to swapping \ual{bne} and \ual{beq} and similar changes that do not effect the program's efficiency or size.
+
By word-aligning all node entry addresses we lose one alignment byte per node entry address on average
(assuming that half of the node entry points are word-aligned already).
This increases code size slightly, but since many instructions that were 32-bit in ARM are now 16-bit, the overall code size is still smaller.