diff options
author | Andrew Waterman <waterman@eecs.berkeley.edu> | 2014-03-06 18:23:38 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@eecs.berkeley.edu> | 2014-03-06 18:23:38 -0800 |
commit | ab14719919d55c1be902c9c723710f1c2c93ecf6 (patch) | |
tree | 3907820326c345edde059c6210e96d5c2e0e1e91 /riscv/insns | |
parent | e4a605049ae7066004acbdce65d6e87ced84a398 (diff) | |
download | spike-ab14719919d55c1be902c9c723710f1c2c93ecf6.zip spike-ab14719919d55c1be902c9c723710f1c2c93ecf6.tar.gz spike-ab14719919d55c1be902c9c723710f1c2c93ecf6.tar.bz2 |
Add fclass.{s|d} instructions
Diffstat (limited to 'riscv/insns')
-rw-r--r-- | riscv/insns/fclass_d.h | 2 | ||||
-rw-r--r-- | riscv/insns/fclass_s.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/riscv/insns/fclass_d.h b/riscv/insns/fclass_d.h new file mode 100644 index 0000000..bd42d45 --- /dev/null +++ b/riscv/insns/fclass_d.h @@ -0,0 +1,2 @@ +require_fp; +WRITE_RD(f64_classify(FRS1)); diff --git a/riscv/insns/fclass_s.h b/riscv/insns/fclass_s.h new file mode 100644 index 0000000..a010266 --- /dev/null +++ b/riscv/insns/fclass_s.h @@ -0,0 +1,2 @@ +require_fp; +WRITE_RD(f32_classify(FRS1)); |