diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:18 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:18 -0500 |
commit | e50e6a260f5316871ad53ae44d1b10ceb2ca267f (patch) | |
tree | 8e74075137eb59434921c88b40fe3e192b7312aa /src | |
parent | 10031a0327f05961b537b4a63ca1a5571cf524e7 (diff) | |
download | gem5-e50e6a260f5316871ad53ae44d1b10ceb2ca267f.tar.xz |
ARM: Add a comment to vfp.cc that explains the asm statements.
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/arm/insts/vfp.cc | 6 |
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 { |