From: Gabe Black Date: Wed, 2 Jun 2010 17:58:18 +0000 (-0500) Subject: ARM: Add a comment to vfp.cc that explains the asm statements. X-Git-Tag: stable_2012_02_02~1059 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e50e6a260f5316871ad53ae44d1b10ceb2ca267f;p=gem5.git ARM: Add a comment to vfp.cc that explains the asm statements. --- 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 {