Specs & Docs

Recent Popular

Re-reading the RVWMO Specification in RISC-V (1)

I decided to re-read the specification of the RVWMO memory model in RISC-V. This time I'm going to work through the "Appendix A. RVWMO" section of the RISC-V specification in a bit more detail. The aim of this section is to clarify the mea…

Re-reading the RVWMO Specification in RISC-V (3. Preserved Program Order / Memory Model Axioms)

I decided to re-read the specification of the RVWMO memory model in RISC-V. With the help of ChatGPT, I'll summarize the key points. Preserved Program Order The global memory access order in any execution of a program respects some, but no…

Re-reading the RVWMO Specification in RISC-V (2. Definition of Syntactic Dependencies)

I decided to re-read the specification of the RVWMO memory model in RISC-V. With the help of ChatGPT, I'll summarize the key points. Syntactic Dependencies The definition of the RVWMO memory model is based in part on the notion of syntacti…

Re-reading the RVWMO Specification in RISC-V (1. Overview of RVWMO)

I decided to re-read the specification of the RVWMO memory model in RISC-V. With the help of ChatGPT, I'll summarize the key points. This chapter describes the definitions related to the RISC-V memory consistency model. Memory consistency …

Reading "How to Design ISA"

I read the article "How to Design ISA", which had been getting a bit of buzz on social media. How to Design an ISA: The popularity of RISC-V has led many to try designing instruction sets.: Queue: Vol 21, No 6 Here is a summary of the key …

A Summary of the Vector LSU Pipeline in My Own CPU (1. Overview of the LSU Pipeline)

The vector LSU pipeline executes through roughly the following stages. ex0: Instruction issue from the instruction queue. Detailed instruction decode. Register access for address calculation. ex1: Address generation according to the vector…

Reading HAIR: Halving the Area of the Integer Register File with Odd/Even Banking (2. Parity Structure)

I've been reading "HAIR", a paper on a technique for reducing the size of the register file. I'd like to summarize its contents briefly. HAIR: Halving the Area of the Integer Register File with Odd/Even Banking | ACM Transactions on Archit…

Reading HAIR: Halving the Area of the Integer Register File with Odd/Even Banking (1. Overview)

I've been reading "HAIR," a paper on a technique for reducing the size of the register file. I'd like to briefly summarize its contents. HAIR: Halving the Area of the Integer Register File with Odd/Even Banking | ACM Transactions on Archit…

Reading the Cache Refill/Access Decoupling for Vector Machines Paper (2. Microarchitecture)

I found an interesting-looking paper, so I decided to read it. Continued from the previous article. Cache Refill/Access Decoupling for Vector Machines https://ieeexplore.ieee.org/document/1551005 https://msyksphinz-en.hatenablog.com/entry/…

Reading the Cache Refill/Access Decoupling for Vector Machines Paper (1. Overview)

I found an interesting-looking paper, so I decided to read it. Cache Refill/Access Decoupling for Vector Machines https://ieeexplore.ieee.org/document/1551005 Cache Refill/Access Decoupling for Vector Machines Paper details 37th Internatio…

Reading Effects of MSHR and Prefetch Mechanisms on an On-Chip Cache of the Vector Architecture (1. Overview)

I found an interesting-looking paper, so I decided to read it. Effects of MSHR and Prefetch Mechanisms on an On-Chip Cache of the Vector Architecture https://ieeexplore.ieee.org/document/4725165 1. Overview The paper proposes MSHR and pref…

Reading Decoupled Vector Architectures (2. Performance Evaluation)

I'm reading a somewhat old paper called "Decoupled Vector Architectures". https://ieeexplore.ieee.org/document/501193 https://msyksphinz-en.hatenablog.com/entry/2023/11/20/040000msyksphinz-en.hatenablog.com Next, performance. We compare th…

Reading Decoupled Vector Architectures (1. Overview)

This is a somewhat old paper, but I've been reading a paper called "Decoupled Vector Architectures". https://ieeexplore.ieee.org/document/501193 Vector instructions are an instruction set devised as a way to overcome the memory wall. Memor…

Reading Decoupled Vector Architectures (1. Overview)

This is a somewhat old paper, but I've been reading a paper called "Decoupled Vector Architectures". https://ieeexplore.ieee.org/document/501193 The aim of this paper is to show that using decoupling techniques in vector processors can sig…

Reading Through the RISC-V Matrix Extension Specification (5. Debugging the Matrix Multiplication Sample)

I'm going to read through the manual for the RISC-V Matrix Extension proposed by T-Head and work on understanding it as I go. For now, I'll use the manual to understand what registers exist. I'd also like to read on through the programming…

Reading Through the RISC-V Matrix Extension Specification (4. Looking at the Matrix Multiplication Sample)

I'm going to read through the manual for the RISC-V Matrix Extension proposed by T-Head and work on understanding it as I go. For now, I'll use the manual to understand what registers exist. I'd also like to read on through the programming…

Reading Through the RISC-V Matrix Extension Specification (3. Instruction Definitions)

I'm going to read through the manual for the RISC-V Matrix Extension proposed by T-Head and work on understanding it as I go. For now, I'll use the manual to understand what registers exist. I'd also like to read on through the programming…

Reading Through the RISC-V Matrix Extension Specification (2. ISA Classification)

I'm going to read through the manual for the RISC-V Matrix Extension proposed by T-Head and work on understanding it as I go. For now, I'll use the manual to understand what registers exist. I'd also like to read on through the programming…

Reading Through the RISC-V Matrix Extension Specification (1. Register Definitions)

I'm going to read through the manual for the RISC-V Matrix Extension proposed by T-Head and work on understanding it as I go. For now, I'll use the manual to understand what registers exist. I'd also like to read on through the programming…

Reading the Bingo Spatial Data Prefetcher Paper (2. How the Bingo Prefetcher Is Constructed)

I'm reading the paper on Bingo, a data prefetching technique, so I'll summarize its overview. https://ieeexplore.ieee.org/document/8675188 github.com Evaluation The evaluation uses a simulation environment called Champsim. This is the simu…

Reading the Bingo Spatial Data Prefetcher Paper (2. How the Bingo Prefetcher Is Constructed)

I'm reading the paper on Bingo, a data prefetching technique, so I'll summarize its overview. https://ieeexplore.ieee.org/document/8675188 github.com Back to the topic of PPH events. Figure 2 shows the various kinds of events and their mat…

Reading the Bingo Spatial Data Prefetcher Paper (1. Overview)

I'm reading the paper on Bingo, a data prefetching technique, so I'll summarize its overview. https://ieeexplore.ieee.org/document/8675188 github.com Bingo is a spatial data prefetching technique, and a prefetching method inspired by TAGE.…

Reading the Data Cache Prefetching Using a Global History Buffer Paper (2. Performance Evaluation)

https://ieeexplore.ieee.org/document/1410068 Next, the performance evaluation: As shown in the table below, a subset of the SPEC2000 benchmark suite was used. SPECfp SPECint ammp mcf art tolf wupwise vpr swim praser lucas gap mgrid bzip2 a…

Reading the Data Cache Prefetching Using a Global History Buffer Paper (1. Basic Structure)

https://ieeexplore.ieee.org/document/1410068 There are many prefetching algorithms, but a few factors determine whether prefetching is effective: Predicting the next data accurately Fetching data in a timely manner Not prefetching excessiv…

Reading Merging Similar Patterns for Hardware Prefetching (2. Hardware Organization)

https://ieeexplore.ieee.org/document/9923831 Let me summarize the overview at a high level. Now let's move on to the actual implementation of PMP (Pattern Merge Prefetcher). This prefetch mechanism runs the training and prefetching process…

Reading Merging Similar Patterns for Hardware Prefetching (1. Overview)

https://ieeexplore.ieee.org/document/9923831 Let me summarize the overview at a high level. Terminology: Region: an area of the address space. In this paper it is set to the same size as a page (4KB). Generation: the set of lines accessed …

Reading the Spatial Memory Streaming Paper

For various reasons, I'm reading the Spatial Memory Streaming paper. https://ieeexplore.ieee.org/document/1635957 I didn't want to spend much time reading it, so I asked ChatGPT to help me grasp the overview. What follows was mostly genera…

Feedback Directed Prefetching: Improving the Performance and Bandwidth-Efficiency of Hardware Prefetchers (1. Overview)

I've been reading a lot of prefetcher papers lately. https://ieeexplore.ieee.org/document/4147648 High-performance processors use hardware data prefetching to reduce the impact of main memory latency. Prefetching greatly improves performan…

Reading the Efficiently Prefetching Complex Address Patterns (VLDP) Paper (2. The Tables Used for Prediction)

I needed to look into this for a bit, so here are my notes: https://ieeexplore.ieee.org/document/7856594 Efficiently Prefetching Complex Address Patterns The key point of VLDP is that, as shown above, it generates the next prefetch based o…

Reading the Efficiently Prefetching Complex Address Patterns (VLDP) Paper (1. Overview)

I needed to look into this for a bit, so here are my notes: https://ieeexplore.ieee.org/document/7856594 Efficiently Prefetching Complex Address Patterns As an overview of this prefetcher, it builds a history of cache line deltas and uses …