Annotate book/coad015
Also remove superfluous :research tags from book/reader002
This commit is contained in:
parent
11893d32af
commit
7a35b5802c
|
@ -0,0 +1,92 @@
|
||||||
|
[video member=miotatsu stream_platform=twitch project=book title="C vs. ASM, 2.3" vod_platform=youtube id=El_YbdOi42U annotator=Miblo]
|
||||||
|
[0:13][Recap and set the stage for the day, with thoughts on comparing the code sizes of various languages][:speech]
|
||||||
|
[2:58][Perform a more rigorous "Hello, World!" comparison between C and x86 :asm][:language :programming]
|
||||||
|
[9:57][@supersaiyengunner][Just passing by seeing what’s on and I heard I don’t need sake]
|
||||||
|
[10:34][Note that start.S will be shared between :asm and C][:language :programming]
|
||||||
|
[11:02][@supersaiyengunner][Now I’m clueless]
|
||||||
|
[11:38][@supersaiyengunner][I just found you]
|
||||||
|
[12:13][Pull up the existing clang invocation for test.c][:programming]
|
||||||
|
[13:01][@supersaiyengunner][I’m down to learn]
|
||||||
|
[14:24][Build and consult the objdump for our program][:programming]
|
||||||
|
[15:54][Create hello.S][:asm :programming]
|
||||||
|
[17:02][@supersaiyengunner][I must absorb your knowledge so I can become more powerful]
|
||||||
|
[17:42][Remove excess lines from hello.S][:asm :programming]
|
||||||
|
[19:15][Compare the lines of code in hello.S and test.c][:language :asm :programming]
|
||||||
|
[21:50][Chapter 2.3 - Operands of the Computer Hardware[ref
|
||||||
|
title="Computer Organization and Design RISC-V Edition"
|
||||||
|
author="David Patterson & John Hennessy"
|
||||||
|
publisher="Morgan Kaufmann"
|
||||||
|
isbn=9780128122754
|
||||||
|
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:hardware]
|
||||||
|
[24:41][Sketch out a way to deal with the limited number of :hardware registers, with thoughts on portable software][:programming]
|
||||||
|
[41:12][Chapter 2.3 continued[ref
|
||||||
|
title="Computer Organization and Design RISC-V Edition"
|
||||||
|
author="David Patterson & John Hennessy"
|
||||||
|
publisher="Morgan Kaufmann"
|
||||||
|
isbn=9780128122754
|
||||||
|
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:hardware]
|
||||||
|
[44:10][Recall [@cmuratori Casey]'s explanation of how the speed of light can become a bottleneck[ref
|
||||||
|
site=YouTube
|
||||||
|
page="Intro to C on Windows - Day 3"
|
||||||
|
url=https://www.youtube.com/watch?v=T4CjOB0y9nI]][:hardware]
|
||||||
|
[52:49][Chapter 2.3 continued[ref
|
||||||
|
title="Computer Organization and Design RISC-V Edition"
|
||||||
|
author="David Patterson & John Hennessy"
|
||||||
|
publisher="Morgan Kaufmann"
|
||||||
|
isbn=9780128122754
|
||||||
|
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:hardware]
|
||||||
|
[55:40][Chapter 2.3 Example 1 - Compiling a C Assignment Using Registers[ref
|
||||||
|
title="Computer Organization and Design RISC-V Edition"
|
||||||
|
author="David Patterson & John Hennessy"
|
||||||
|
publisher="Morgan Kaufmann"
|
||||||
|
isbn=9780128122754
|
||||||
|
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:asm :hardware]
|
||||||
|
[56:29][Our answer to Chapter 2.1 Example 2][:asm :blackboard :hardware]
|
||||||
|
[1:00:32][Setup the tablet][:admin]
|
||||||
|
[1:01:51][Putting variables into RISC-V registers][:blackboard :hardware]
|
||||||
|
[1:04:03][Compare our answer to Chapter 2.1 Example 1 with the book[ref
|
||||||
|
title="Computer Organization and Design RISC-V Edition"
|
||||||
|
author="David Patterson & John Hennessy"
|
||||||
|
publisher="Morgan Kaufmann"
|
||||||
|
isbn=9780128122754
|
||||||
|
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:asm :hardware]
|
||||||
|
[1:07:37][Chapter 2.1 continued, :Memory Operands[ref
|
||||||
|
title="Computer Organization and Design RISC-V Edition"
|
||||||
|
author="David Patterson & John Hennessy"
|
||||||
|
publisher="Morgan Kaufmann"
|
||||||
|
isbn=9780128122754
|
||||||
|
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:hardware]
|
||||||
|
[1:09:51][Figure 2.2 - :Memory addresses and contents of memory at those locations[ref
|
||||||
|
title="Computer Organization and Design RISC-V Edition"
|
||||||
|
author="David Patterson & John Hennessy"
|
||||||
|
publisher="Morgan Kaufmann"
|
||||||
|
isbn=9780128122754
|
||||||
|
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:blackboard :hardware]
|
||||||
|
[1:15:26][Chapter 2.1 continued[ref
|
||||||
|
title="Computer Organization and Design RISC-V Edition"
|
||||||
|
author="David Patterson & John Hennessy"
|
||||||
|
publisher="Morgan Kaufmann"
|
||||||
|
isbn=9780128122754
|
||||||
|
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:hardware :memory]
|
||||||
|
[1:16:05][Chapter 2.3 Example 2 - Compiling an Assignment When an Operand Is in :Memory[ref
|
||||||
|
title="Computer Organization and Design RISC-V Edition"
|
||||||
|
author="David Patterson & John Hennessy"
|
||||||
|
publisher="Morgan Kaufmann"
|
||||||
|
isbn=9780128122754
|
||||||
|
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:hardware]
|
||||||
|
[1:16:51][Compiling g = h + A\[8\];][:asm :blackboard :memory]
|
||||||
|
[1:24:56][Compare our answer to Chapter 2.1 Example 2 with the book[ref
|
||||||
|
title="Computer Organization and Design RISC-V Edition"
|
||||||
|
author="David Patterson & John Hennessy"
|
||||||
|
publisher="Morgan Kaufmann"
|
||||||
|
isbn=9780128122754
|
||||||
|
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:asm :memory]
|
||||||
|
[1:25:32][Update our answer to use x22 as the base address][:blackboard :asm :memory]
|
||||||
|
[1:26:19][Continue to compare our answer to Chapter 2.1 Example 2[ref
|
||||||
|
title="Computer Organization and Design RISC-V Edition"
|
||||||
|
author="David Patterson & John Hennessy"
|
||||||
|
publisher="Morgan Kaufmann"
|
||||||
|
isbn=9780128122754
|
||||||
|
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:asm :memory]
|
||||||
|
[1:29:42][Leave the rest of Chapter 2.3 for the next day][:speech]
|
||||||
|
[/video]
|
|
@ -5,102 +5,102 @@
|
||||||
author="David Patterson and Andrew Waterman"
|
author="David Patterson and Andrew Waterman"
|
||||||
publisher="Strawberry Canyon"
|
publisher="Strawberry Canyon"
|
||||||
isbn=9780999249116
|
isbn=9780999249116
|
||||||
url=http://www.riscvbook.com/]][:isa :research]
|
url=http://www.riscvbook.com/]][:isa]
|
||||||
[7:25][Figure 1.5 - Relative program sizes for RV32G, ARM-32, x86-32, RV32C and Thumb-2[ref
|
[7:25][Figure 1.5 - Relative program sizes for RV32G, ARM-32, x86-32, RV32C and Thumb-2[ref
|
||||||
title="RISC-V Reader"
|
title="RISC-V Reader"
|
||||||
author="David Patterson and Andrew Waterman"
|
author="David Patterson and Andrew Waterman"
|
||||||
publisher="Strawberry Canyon"
|
publisher="Strawberry Canyon"
|
||||||
isbn=9780999249116
|
isbn=9780999249116
|
||||||
url=http://www.riscvbook.com/]][:isa :research]
|
url=http://www.riscvbook.com/]][:isa]
|
||||||
[20:54][Notes in the margin of p.8 - Pipelining and :ISA complexity[ref
|
[20:54][Notes in the margin of p.8 - Pipelining and :ISA complexity[ref
|
||||||
title="RISC-V Reader"
|
title="RISC-V Reader"
|
||||||
author="David Patterson and Andrew Waterman"
|
author="David Patterson and Andrew Waterman"
|
||||||
publisher="Strawberry Canyon"
|
publisher="Strawberry Canyon"
|
||||||
isbn=9780999249116
|
isbn=9780999249116
|
||||||
url=http://www.riscvbook.com/]][:research]
|
url=http://www.riscvbook.com/]]
|
||||||
[22:12][Chapter 1.3 continued, Program Size; and Ease of programming, compiling and linking[ref
|
[22:12][Chapter 1.3 continued, Program Size; and Ease of programming, compiling and linking[ref
|
||||||
title="RISC-V Reader"
|
title="RISC-V Reader"
|
||||||
author="David Patterson and Andrew Waterman"
|
author="David Patterson and Andrew Waterman"
|
||||||
publisher="Strawberry Canyon"
|
publisher="Strawberry Canyon"
|
||||||
isbn=9780999249116
|
isbn=9780999249116
|
||||||
url=http://www.riscvbook.com/]][:isa :research]
|
url=http://www.riscvbook.com/]][:isa]
|
||||||
[29:36][Recall @DannyFritz's question as to whether RISC-V instructions always operate in one cycle][:isa :speech]
|
[29:36][Recall @DannyFritz's question as to whether RISC-V instructions always operate in one cycle][:isa :speech]
|
||||||
[32:43][Chapter 1.3 continued, Ease of programming, compiling and linking[ref
|
[32:43][Chapter 1.3 continued, Ease of programming, compiling and linking[ref
|
||||||
title="RISC-V Reader"
|
title="RISC-V Reader"
|
||||||
author="David Patterson and Andrew Waterman"
|
author="David Patterson and Andrew Waterman"
|
||||||
publisher="Strawberry Canyon"
|
publisher="Strawberry Canyon"
|
||||||
isbn=9780999249116
|
isbn=9780999249116
|
||||||
url=http://www.riscvbook.com/]][:isa :research]
|
url=http://www.riscvbook.com/]][:isa]
|
||||||
[37:35][Chapter 1.4 - An Overview of this Book[ref
|
[37:35][Chapter 1.4 - An Overview of this Book[ref
|
||||||
title="RISC-V Reader"
|
title="RISC-V Reader"
|
||||||
author="David Patterson and Andrew Waterman"
|
author="David Patterson and Andrew Waterman"
|
||||||
publisher="Strawberry Canyon"
|
publisher="Strawberry Canyon"
|
||||||
isbn=9780999249116
|
isbn=9780999249116
|
||||||
url=http://www.riscvbook.com/]][:research]
|
url=http://www.riscvbook.com/]]
|
||||||
[39:33][Note that we've seen pseudo-instructions in [~riscy RISCY BUSINESS]][:speech]
|
[39:33][Note that we've seen pseudo-instructions in [~riscy RISCY BUSINESS]][:speech]
|
||||||
[40:30][Chapter 1.4 continued[ref
|
[40:30][Chapter 1.4 continued[ref
|
||||||
title="RISC-V Reader"
|
title="RISC-V Reader"
|
||||||
author="David Patterson and Andrew Waterman"
|
author="David Patterson and Andrew Waterman"
|
||||||
publisher="Strawberry Canyon"
|
publisher="Strawberry Canyon"
|
||||||
isbn=9780999249116
|
isbn=9780999249116
|
||||||
url=http://www.riscvbook.com/]][:research]
|
url=http://www.riscvbook.com/]]
|
||||||
[42:31][Glimpse into the future of writing an assembler and compiler, with thoughts on undefined behaviour][:language :rant]
|
[42:31][Glimpse into the future of writing an assembler and compiler, with thoughts on undefined behaviour][:language :rant]
|
||||||
[55:42][Chapter 1.4 continued[ref
|
[55:42][Chapter 1.4 continued[ref
|
||||||
title="RISC-V Reader"
|
title="RISC-V Reader"
|
||||||
author="David Patterson and Andrew Waterman"
|
author="David Patterson and Andrew Waterman"
|
||||||
publisher="Strawberry Canyon"
|
publisher="Strawberry Canyon"
|
||||||
isbn=9780999249116
|
isbn=9780999249116
|
||||||
url=http://www.riscvbook.com/]][:research]
|
url=http://www.riscvbook.com/]]
|
||||||
[57:04][Check if Computer Architecture: a Quantitative Approach[ref
|
[57:04][Check if Computer Architecture: a Quantitative Approach[ref
|
||||||
title="Computer Architecture: A Quantitative Approach"
|
title="Computer Architecture: A Quantitative Approach"
|
||||||
author="John Hennessy & David Patterson"
|
author="John Hennessy & David Patterson"
|
||||||
publisher="Morgan Kaufmann"
|
publisher="Morgan Kaufmann"
|
||||||
isbn=9780123838728
|
isbn=9780123838728
|
||||||
url=https://www.elsevier.com/books/computer-architecture/hennessy/978-0-12-383872-8] contains a green card][:research]
|
url=https://www.elsevier.com/books/computer-architecture/hennessy/978-0-12-383872-8] contains a green card]
|
||||||
[58:43][Chapter 1.4 continued[ref
|
[58:43][Chapter 1.4 continued[ref
|
||||||
title="RISC-V Reader"
|
title="RISC-V Reader"
|
||||||
author="David Patterson and Andrew Waterman"
|
author="David Patterson and Andrew Waterman"
|
||||||
publisher="Strawberry Canyon"
|
publisher="Strawberry Canyon"
|
||||||
isbn=9780999249116
|
isbn=9780999249116
|
||||||
url=http://www.riscvbook.com/]][:research]
|
url=http://www.riscvbook.com/]]
|
||||||
[59:34][Recall a conversation with Andrew and Yunsup about vector machines][:speech]
|
[59:34][Recall a conversation with Andrew and Yunsup about vector machines][:speech]
|
||||||
[1:01:40][Chapter 1.4 continued[ref
|
[1:01:40][Chapter 1.4 continued[ref
|
||||||
title="RISC-V Reader"
|
title="RISC-V Reader"
|
||||||
author="David Patterson and Andrew Waterman"
|
author="David Patterson and Andrew Waterman"
|
||||||
publisher="Strawberry Canyon"
|
publisher="Strawberry Canyon"
|
||||||
isbn=9780999249116
|
isbn=9780999249116
|
||||||
url=http://www.riscvbook.com/]][:research]
|
url=http://www.riscvbook.com/]]
|
||||||
[1:03:33][Chapter 1.5 - Concluding Remarks[ref
|
[1:03:33][Chapter 1.5 - Concluding Remarks[ref
|
||||||
title="RISC-V Reader"
|
title="RISC-V Reader"
|
||||||
author="David Patterson and Andrew Waterman"
|
author="David Patterson and Andrew Waterman"
|
||||||
publisher="Strawberry Canyon"
|
publisher="Strawberry Canyon"
|
||||||
isbn=9780999249116
|
isbn=9780999249116
|
||||||
url=http://www.riscvbook.com/]][:research]
|
url=http://www.riscvbook.com/]]
|
||||||
[1:05:37][Figure 1.6 - Number of pages and words of :ISA manuals[ref
|
[1:05:37][Figure 1.6 - Number of pages and words of :ISA manuals[ref
|
||||||
title="RISC-V Reader"
|
title="RISC-V Reader"
|
||||||
author="David Patterson and Andrew Waterman"
|
author="David Patterson and Andrew Waterman"
|
||||||
publisher="Strawberry Canyon"
|
publisher="Strawberry Canyon"
|
||||||
isbn=9780999249116
|
isbn=9780999249116
|
||||||
url=http://www.riscvbook.com/]][:research]
|
url=http://www.riscvbook.com/]]
|
||||||
[1:13:04][Chapter 1.5 continued[ref
|
[1:13:04][Chapter 1.5 continued[ref
|
||||||
title="RISC-V Reader"
|
title="RISC-V Reader"
|
||||||
author="David Patterson and Andrew Waterman"
|
author="David Patterson and Andrew Waterman"
|
||||||
publisher="Strawberry Canyon"
|
publisher="Strawberry Canyon"
|
||||||
isbn=9780999249116
|
isbn=9780999249116
|
||||||
url=http://www.riscvbook.com/]][:research]
|
url=http://www.riscvbook.com/]]
|
||||||
[1:16:35][Thoughts on the monumental task of reading the x86-32 documentation, and Mike Acton's recommendation to do this][:isa :speech]
|
[1:16:35][Thoughts on the monumental task of reading the x86-32 documentation, and Mike Acton's recommendation to do this][:isa :speech]
|
||||||
[1:19:12][Chapter 1.5 continued[ref
|
[1:19:12][Chapter 1.5 continued[ref
|
||||||
title="RISC-V Reader"
|
title="RISC-V Reader"
|
||||||
author="David Patterson and Andrew Waterman"
|
author="David Patterson and Andrew Waterman"
|
||||||
publisher="Strawberry Canyon"
|
publisher="Strawberry Canyon"
|
||||||
isbn=9780999249116
|
isbn=9780999249116
|
||||||
url=http://www.riscvbook.com/]][:research]
|
url=http://www.riscvbook.com/]]
|
||||||
[1:25:17][Chapter 1.6 - To Learn More[ref
|
[1:25:17][Chapter 1.6 - To Learn More[ref
|
||||||
title="RISC-V Reader"
|
title="RISC-V Reader"
|
||||||
author="David Patterson and Andrew Waterman"
|
author="David Patterson and Andrew Waterman"
|
||||||
publisher="Strawberry Canyon"
|
publisher="Strawberry Canyon"
|
||||||
isbn=9780999249116
|
isbn=9780999249116
|
||||||
url=http://www.riscvbook.com/]][:research]
|
url=http://www.riscvbook.com/]]
|
||||||
[1:30:31][Wind it down][:speech]
|
[1:30:31][Wind it down][:speech]
|
||||||
[1:31:31][Address Patreon's proposed fee changes from Winter 2017, with a plug of the pledge platform poll[ref
|
[1:31:31][Address Patreon's proposed fee changes from Winter 2017, with a plug of the pledge platform poll[ref
|
||||||
site=Twitter
|
site=Twitter
|
||||||
|
|
Loading…
Reference in New Issue