gem5/src/arch
Andreas Hansson ec41000dad arm: Fixed undefined behaviours identified by gcc
This patch fixes the runtime errors highlighted by the undefined
behaviour sanitizer. In the end there were two issues. First, when
rotating an immediate, we ended up shifting an uint32_t by 32 in some
cases. This case is fixed by checking for a rotation by 0
positions. Second, the Mrc15 and Mcr15 are operating on an IntReg and
a MiscReg, but we used the type RegRegImmOp and passed a MiscRegIndex
as an IntRegIndex. This issue is resolved by introducing a
MiscRegRegImmOp and RegMiscRegImmOp with the appropriate types.

With these fixes there are no runtime errors identified for the full
ARM regressions.
2014-09-27 09:08:37 -04:00
..
alpha arch: Use const StaticInstPtr references where possible 2014-09-27 09:08:36 -04:00
arm arm: Fixed undefined behaviours identified by gcc 2014-09-27 09:08:37 -04:00
generic arch: Use const StaticInstPtr references where possible 2014-09-27 09:08:36 -04:00
mips arch: Use const StaticInstPtr references where possible 2014-09-27 09:08:36 -04:00
null arch: Cleanup unused ISA traits constants 2014-09-03 07:42:21 -04:00
power arch: Use const StaticInstPtr references where possible 2014-09-27 09:08:36 -04:00
sparc arch: Use const StaticInstPtr references where possible 2014-09-27 09:08:36 -04:00
x86 arch: Use const StaticInstPtr references where possible 2014-09-27 09:08:36 -04:00
isa_parser.py scons: Address issues related to gcc 4.9.1 2014-09-27 09:08:34 -04:00
micro_asm.py scons: add slicc and ply to sys.path and PYTHONPATH so everyone has access 2009-09-22 15:24:16 -07:00
micro_asm_test.py Add a second section to make sure the ROM is extended properly. 2007-05-31 22:21:21 +00:00
SConscript arch, cpu: Factor out the ExecContext into a proper base class 2014-09-03 07:42:22 -04:00