projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10031a0
)
ARM: Add a comment to vfp.cc that explains the asm statements.
author
Gabe Black
<gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:18 +0000
(12:58 -0500)
committer
Gabe Black
<gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:18 +0000
(12:58 -0500)
src/arch/arm/insts/vfp.cc
patch
|
blob
|
history
diff --git
a/src/arch/arm/insts/vfp.cc
b/src/arch/arm/insts/vfp.cc
index 1637797159e361ec30db475e4e4f93ce3801898a..1968a59a9f3250af3b14c04d3ab45199a51ba3a1 100644
(file)
--- a/
src/arch/arm/insts/vfp.cc
+++ b/
src/arch/arm/insts/vfp.cc
@@
-39,6
+39,12
@@
#include "arch/arm/insts/vfp.hh"
+/*
+ * The asm statements below are to keep gcc from reordering code. Otherwise
+ * the rounding mode might be set after the operation it was intended for, the
+ * exception bits read before it, etc.
+ */
+
std::string
FpRegRegOp::generateDisassembly(Addr pc, const SymbolTable *symtab) const
{