tests,base: Added GTests for base/condcodes.hh
authorBobby R. Bruce <bbruce@ucdavis.edu>
Wed, 9 Oct 2019 22:20:57 +0000 (15:20 -0700)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Tue, 12 Nov 2019 19:44:59 +0000 (19:44 +0000)
commite96ccec8159f91d60bed8342184fb969b06eaf4f
tree698574b2d782510f05604805554f13e30e24f7d3
parent70bfe7aa57c3fac79433bfdfb1c6732996bfc727
tests,base: Added GTests for base/condcodes.hh

The documentation for the "findParity" and "findCarry" functions in
base/condcodes.hh has been enhanced to better explain their behavior.

Change-Id: I9ba3bf68eb56529a3030e965ec21e41d2dacfad6
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21639
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/SConscript
src/base/condcodes.hh
src/base/condcodes.test.cc [new file with mode: 0644]