sparc: Introduce a BitUnion for the CCR register.
authorGabe Black <gabeblack@google.com>
Sat, 7 Dec 2019 10:37:50 +0000 (02:37 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 12 Mar 2020 01:35:34 +0000 (01:35 +0000)
commitfef53599b20b691524068634131c1f9b4cddc7ab
treebad52d44ab4570f808bf0e9d447bb2a2078abfc9
parent2edca021e0ca486c82df797d0fb693ebb8306ebd
sparc: Introduce a BitUnion for the CCR register.

This avoids opaque masks when accessing fields of this register.

Change-Id: If20d82c7c6401e6b1b35bb6d2c69542a56e2fb45
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23446
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/sparc/faults.cc
src/arch/sparc/miscregs.hh
src/arch/sparc/process.cc