projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb69084
)
Update README.md for freg info
author
Christopher Celio
<celio@eecs.berkeley.edu>
Tue, 21 Jul 2015 19:45:17 +0000
(12:45 -0700)
committer
Christopher Celio
<celio@eecs.berkeley.edu>
Tue, 21 Jul 2015 19:45:17 +0000
(12:45 -0700)
README.md
patch
|
blob
|
history
diff --git
a/README.md
b/README.md
index eabd355bb71a31f63466b2297ad198769f0ad5c1..ce078b3589b8e53fa06f7a62d362e3aedf1733f0 100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-64,9
+64,19
@@
To invoke interactive debug mode, launch spike with -d:
$ spike -d pk hello
-To see the contents of a register (0 is for core 0):
+To see the contents of a
n integer
register (0 is for core 0):
: reg 0 a0
+
+To see the contents of a floating point register:
+
+ : fregs 0 ft0
+
+or:
+
+ : fregd 0 ft0
+
+depending upon whether you wish to print the register as single- or double-precision.
To see the contents of a memory location (physical address in hex):