diff options
author | Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU> | 2010-08-03 20:48:02 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU> | 2010-08-03 20:48:02 -0700 |
commit | 5ff63bcd7935cad840fd25844dfb590010bd2e12 (patch) | |
tree | 4efe8f8953dd229f1e3342e59108888296c99c46 /riscv/insns/div.h | |
parent | 864c3ef8ac39c27dec64adae6a1611755dfbada7 (diff) | |
download | spike-5ff63bcd7935cad840fd25844dfb590010bd2e12.zip spike-5ff63bcd7935cad840fd25844dfb590010bd2e12.tar.gz spike-5ff63bcd7935cad840fd25844dfb590010bd2e12.tar.bz2 |
[pk,sim,xcc] Renamed instructions to RISC-V spec
All word-sized arithmetic operations are now postfixed with 'w',
and all double-word-sized arithmetic operations are no longer
prefixed with 'd'. mtc0/mfc0 are removed and replaced with
mfpcr/mtpcr/mwfpcr/mwtpcr.
Diffstat (limited to 'riscv/insns/div.h')
-rw-r--r-- | riscv/insns/div.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/div.h b/riscv/insns/div.h index e595c85..f0c2d2b 100644 --- a/riscv/insns/div.h +++ b/riscv/insns/div.h @@ -1,2 +1,2 @@ -RC = sext32(int32_t(RA)/int32_t(RB)); - +require64; +RC = sreg_t(RA) / sreg_t(RB); |