summaryrefslogtreecommitdiff
path: root/src/arch/arm/insts/vfp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm/insts/vfp.cc')
-rw-r--r--src/arch/arm/insts/vfp.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/arm/insts/vfp.cc b/src/arch/arm/insts/vfp.cc
index 163779715..1968a59a9 100644
--- 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
{