diff options
author | Andrew Waterman <andrew@sifive.com> | 2017-04-10 17:35:24 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2017-04-10 17:35:24 -0700 |
commit | d6fce459767509249311a120fddb21c844dc9b2c (patch) | |
tree | b54272d8ce52f773b13dd33ae94d634538ec6599 /riscv/insns/flw.h | |
parent | 5f494a22db29d69893db4b39f488cf67c0ac6437 (diff) | |
download | riscv-isa-sim-d6fce459767509249311a120fddb21c844dc9b2c.zip riscv-isa-sim-d6fce459767509249311a120fddb21c844dc9b2c.tar.gz riscv-isa-sim-d6fce459767509249311a120fddb21c844dc9b2c.tar.bz2 |
Implement new FP encoding
https://groups.google.com/a/groups.riscv.org/d/msg/isa-dev/_r7hBlzsEd8/cWPyJKMzCQAJ
Diffstat (limited to 'riscv/insns/flw.h')
-rw-r--r-- | riscv/insns/flw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/flw.h b/riscv/insns/flw.h index 489e743..6129754 100644 --- a/riscv/insns/flw.h +++ b/riscv/insns/flw.h @@ -1,3 +1,3 @@ require_extension('F'); require_fp; -WRITE_FRD(MMU.load_uint32(RS1 + insn.i_imm())); +WRITE_FRD(f32(MMU.load_uint32(RS1 + insn.i_imm()))); |