Comments (3)
Added rationale for choice of overflow quotient values to spec.
from riscv-isa-manual.
I think there is a typo in the rationale where it says and this check can be inserted after the divide
. The branch to check for division by zero should not be done after the divide instruction. At that point the divisor may have been destroyed, ie. if it was the destination of the divide instruction. Instead, the check must be inserted before the divide instruction.
from riscv-isa-manual.
That was intentional; putting the branch after the divide is desirable for code scheduling.
The compiler understands that the destination will be overwritten even on a divide by zero, and can choose the destination register accordingly.
from riscv-isa-manual.
Related Issues (20)
- Remove stale non-normative comment referring to a future version adding interrupt-based sampling HOT 1
- [Smrnmi] Handling delegated exception when mnstatus.NMIE=0 HOT 2
- Zicfiss extension and address translation caches HOT 2
- Standardize and automate instructions documentation HOT 1
- Zama16b requires no more than MXLEN bits for F/D/Q extensions? HOT 1
- Manuals reference in the main ISA
- Forgotten Sentence HOT 1
- Outdated page number HOT 1
- When rm is added to the assembly, GCC fails to compile for fcvt.d.w/fcvt.d.wu/fcvt.s.h/fcvt.d.h/fcvt.d.s instructions HOT 2
- Discrepancy in mhpmevent bits for Sscofpmf HOT 23
- Clarify Zicfilp landing pad fault behavior HOT 6
- Unused wavedrom files HOT 2
- How to clear the pending of VS-level timer interrupts which pending is set by hvip.vstip and trap to VS mode? HOT 2
- Enhance RISC-V Instruction Documentation HOT 9
- should mseccfg.MLPE be cleared at reset? HOT 3
- Reference Bug HOT 1
- Zicfiss/Zicfilp interaction with Zc extension HOT 2
- Clarification on tail elements for vector load fault-only-first HOT 2
- orc.b is listed with two operands in section 30.4 HOT 1
- Bump docs-resources ahead
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from riscv-isa-manual.