sparc: Clean up some code in base.isa.
authorGabe Black <gabeblack@google.com>
Mon, 28 Sep 2020 06:41:02 +0000 (23:41 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 7 Oct 2020 23:00:05 +0000 (23:00 +0000)
commitcda1221dd4b00451f9d0366296acd87558eb397b
tree8b386087de840d585f85bf29cb46d606a2b4b80d
parent8041ab0ad70a44406e330801b96b6b7ee010d456
sparc: Clean up some code in base.isa.

This includes the filterDoubles function which adds code to combine 32
bit values into doubles or 64 bit values for floating point, and the
splitOutImm function which detects if the code that implements an
instruction has a register and immediate variant, and generates code for
each.

Change-Id: I5524b9acd6e610b51fd91fe70276c34c23be9f85
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35235
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/sparc/isa/base.isa
src/arch/sparc/isa/formats/branch.isa
src/arch/sparc/isa/formats/integerop.isa
src/arch/sparc/isa/formats/priv.isa