arch,sim,misc: Add a new m5 op "sum" which just sums its inputs.
authorGabe Black <gabeblack@google.com>
Sun, 5 Apr 2020 10:02:52 +0000 (03:02 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 24 Jul 2020 03:59:49 +0000 (03:59 +0000)
commitcbefc453c43149230f9d9a971d1196a3f51daf9a
tree8d3b74efb85249203b4e390543e24155ccbe3b38
parente3dd8d6114ca49101905002ccb2a1a4836171917
arch,sim,misc: Add a new m5 op "sum" which just sums its inputs.

This very simple and mostly useless operation has no side effects, and
can be used to verify that arguments are making it into gem5, being
operated on, and then that a result can be returned into the simulation.

Change-Id: I29bce824078526ff77513c80365f8fad88fef128
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27557
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
include/gem5/asm/generic/m5ops.h
include/gem5/m5ops.h
src/arch/arm/isa/formats/aarch64.isa
src/arch/arm/isa/formats/m5ops.isa
src/arch/arm/isa/insts/m5ops.isa
src/arch/arm/isa/operands.isa
src/arch/sparc/isa/decoder.isa
src/arch/x86/isa/decoder/two_byte_opcodes.isa
src/arch/x86/isa/operands.isa
src/sim/pseudo_inst.cc
src/sim/pseudo_inst.hh