SPARC: Make PSTATE and HPSTATE a BitUnion.
authorGabe Black <gblack@eecs.umich.edu>
Sat, 11 Feb 2012 22:16:38 +0000 (14:16 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Sat, 11 Feb 2012 22:16:38 +0000 (14:16 -0800)
commit5b557a314f4dbde6f029b3f75c211332ac360f3a
tree8be804d79afc881903830e5281fc86b7f7d5d5dc
parentaa513a4a99cb8dfc6b605797acbbb64a5601ab6e
SPARC: Make PSTATE and HPSTATE a BitUnion.

This gets rid of cryptic bits of code with lots of bit manipulation, and makes
some comments redundant.
14 files changed:
src/arch/sparc/faults.cc
src/arch/sparc/interrupts.hh
src/arch/sparc/isa.cc
src/arch/sparc/isa.hh
src/arch/sparc/isa/base.isa
src/arch/sparc/isa/decoder.isa
src/arch/sparc/isa/formats/mem/util.isa
src/arch/sparc/isa/formats/priv.isa
src/arch/sparc/isa/operands.isa
src/arch/sparc/miscregs.hh
src/arch/sparc/process.cc
src/arch/sparc/remote_gdb.cc
src/arch/sparc/ua2005.cc
src/arch/sparc/utility.hh