mortbopet / Ripes

A graphical processor simulator and assembly editor for the RISC-V ISA

Home Page:https://ripes.me/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unreachable code for REMU in rv_alu.h

ilyakurdyukov opened this issue · comments

if (op2.sValue() == 0) {

This is literally unreachable code that was copied from DIV to REMU. GCC seems to be blind to notice this, but the EDG frontend sees this.