Skip to content

Commit cfa6eb0

Browse files
authored
Bump allocate downward (#57)
* Move line and block marking metadata into Block itself * Fix find_next_available_hole * Fix unit tests * Update book * Add a few diagrams
1 parent 54f2108 commit cfa6eb0

File tree

16 files changed

+335
-247
lines changed

16 files changed

+335
-247
lines changed

.github/workflows/book.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ on: [push]
44

55
jobs:
66
deploy:
7-
runs-on: ubuntu-18.04
7+
runs-on: ubuntu-20.04
88
steps:
99
- uses: actions/checkout@v2
1010

1111
- name: Setup mdBook
1212
uses: peaceiris/actions-mdbook@v1
1313
with:
14-
mdbook-version: '0.3.7'
14+
mdbook-version: '0.4.5'
1515
# mdbook-version: 'latest'
1616

1717
- run: mdbook build

booksrc/chapter-alignment.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ aligned to 16 byte boundaries for optimal code generation and performance.
2626
Unaligned loads and stores may be allowed but normally these incur
2727
performance penalties.
2828

29-
While Intel allows unaligned access, the
29+
![Common alignments](img/alignment.png)
30+
31+
While Intel allows unaligned access (that is, alignment on any byte boundary),
32+
the
3033
[recommended](https://software.intel.com/sites/default/files/managed/9e/bc/64-ia-32-architectures-optimization-manual.pdf?wapkw=248966)
3134
(see section 3.6.4) alignment for objects larger than 64 bits is to 16 byte
3235
boundaries.

0 commit comments

Comments
 (0)