cinera_handmade.network/miotatsu/riscy/riscy/riscy046.hmml

45 lines
2.8 KiB
Plaintext

[video member=miotatsu stream_platform=twitch project=riscy title="Pure & Utter Insanity (Dhrystone)" vod_platform=youtube id=ZbfKjf6YU7s annotator=Miblo]
[0:07][Recap with a few words on the pronunciation of Dhrystone[ref
site=YouTube
page="How to pronounce Dhrystone"
url=https://www.youtube.com/watch?v=arzzKwEsS0s]]
[2:25][Reflect on the unimpressive nature of synthetic benchmarks][:profiling]
[4:14][Study the procedures in dhry_1.c][:profiling :research]
[8:27][Study Func_2() and Func_1() in dhry_2.c][:profiling :research :"string manipulation"]
[20:15][Consult the documentation on strcmp()[ref
site=cppreference.com
page=strcmp
url=http://en.cppreference.com/w/c/string/byte/strcmp]][:research :"string manipulation"]
[22:05][Continue studying Func_2() in dhry_2.c][:profiling :research :"string manipulation"]
[23:24][Try to establish which strcpy() and strcmp() we are using][:research :"string manipulation"]
[31:42][@croepha][Hey Buddy]
[31:46][Read strcmp.c and strcpy.c][:research :"string manipulation"]
[33:15][Return to dhry_1.c and determine that the comments may come from the original, 1-indexed Ada implementation][:language]
[35:17][Read Proc_7() and Proc_8() in dhry_2.c][:profiling :research]
[42:46][Read Proc_1() in dhry_1.c][:profiling :research]
[45:36][Read Proc_3() in dhry_1.c][:profiling :research]
[48:35][Return to Proc_1() in dhry_1.c, after the call to Proc_3()][:profiling :research]
[49:33][Read Proc_6() in dhry_2.c][:profiling :research]
[51:16][This is just bananacakes]
[51:36][@croepha][It wasn't me, but I am a mad man]
[52:03][Read Func_3() in dhry_2.c][:profiling :research]
[52:36][@croepha][It depends on what you mean, I might be worse. I do things with macros that would probably drive you crazy. I also make code generators]
[53:21][Continue to read Proc_6() and Func_3() in dhry_2.c][:profiling :research]
[54:30][Finish reading Proc_1()][:profiling :research]
[55:12][Wonder if this program was carefully crafted to exercise the instructions well, and to confuse the compiler][:research]
[56:52][Try to reorient ourselves][:research]
[57:54][@croepha][/me goes off to try some of this syntax]
[57:56][A few words on the old-style C code][:language]
[1:00:22][@croepha][Does that compile for you?]
[1:03:08][Continue to read through the main :timing loop in dhry_1.c][:profiling :research]
[1:05:02][Read Proc_2() in dhry_1.c][:profiling :research]
[1:06:53][Scan through the statistical printing code in dhry_1.c][:profiling :research]
[1:07:46][Reflect on our experience investigating this demo]
[1:08:45][We are out of time, with a note that we ought to update the Freedom E SDK]
[1:10:17][@croepha][Are you excited about any other \[sic\] RISC-V chips? Any comments on the privileged mode instruction spec draft?]
[1:12:18][Point out lowRISC[ref
site=lowRISC
url=http://www.lowrisc.org/]]
[1:13:54][Thank you]
[/video]