Skip to content

PrescienceLab/fpspy-riscv-eval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RISC-V FPE & PPE Microbenchmarks

These microbenchmarks test our modifications to RISC-V that add Floating-Point Exceptions (FPEs) and Precise Pipelined Exceptions (PPEs).

There are two microbenchmarks in this repository:

  1. latency: A pathological worst-case where every iteration of a loop causes a floating-point exception. This serves to find the amount of time required to make the processor change its privilege and jump to the handler code.
  2. sweep: A sweeper program, which sweeps the period between floating-point exceptions. This helps show the diminishing costs of floating-point exceptions (FPEs) as the frequency of exceptional FP instructions decreases.

Both of these are C programs with no external dependencies other than libc.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published