Add a register bank index to RegClassData.

This makes it possible to find the register bank that contains a
register class.
This commit is contained in:
Jakob Stoklund Olesen
2017-05-15 13:01:41 -07:00
parent 29dc723e25
commit 621f3a2f50
4 changed files with 13 additions and 6 deletions

View File

@@ -140,6 +140,7 @@ mod tests {
name: "GPR",
index: 0,
width: 1,
bank: 0,
first: 28,
subclasses: 0,
mask: [0xf0000000, 0x0000000f, 0],
@@ -148,6 +149,7 @@ mod tests {
name: "DPR",
index: 0,
width: 2,
bank: 0,
first: 28,
subclasses: 0,
mask: [0x50000000, 0x0000000a, 0],