----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/1907/ -----------------------------------------------------------
Review request for Default. Description ------- Changeset 9756:1e7295a2729a --------------------------- x86: Add helper functions to access rflags The rflags register is spread across several different registers. Most of the flags are stored in MISCREG_RFLAGS, but some are stored in microcode registers. When accessing RFLAGS, we need to reconstruct it from these registers. This changeset adds two functions, X86ISA::getRFlags() and X86ISA::setRFlags(), that take care of this magic. Diffs ----- src/arch/x86/utility.hh 9df73385c878 src/arch/x86/utility.cc 9df73385c878 Diff: http://reviews.gem5.org/r/1907/diff/ Testing ------- Compiles. Both helper functions are used by the x86 KVM CPU and have been used successfully in CPU switching experiments. There are currently no other users of these helper functions. Thanks, Andreas Sandberg _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
