mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
Add case clauses for returning dsp accumulator encoding values in function
getMipsRegisterNumbering. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164720 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
81571d3e0f
commit
b500e9249a
@ -122,14 +122,16 @@ inline static unsigned getMipsRegisterNumbering(unsigned RegEnum)
|
||||
{
|
||||
switch (RegEnum) {
|
||||
case Mips::ZERO: case Mips::ZERO_64: case Mips::F0: case Mips::D0_64:
|
||||
case Mips::D0: case Mips::FCC0:
|
||||
case Mips::D0: case Mips::FCC0: case Mips::AC0:
|
||||
return 0;
|
||||
case Mips::AT: case Mips::AT_64: case Mips::F1: case Mips::D1_64:
|
||||
case Mips::AC1:
|
||||
return 1;
|
||||
case Mips::V0: case Mips::V0_64: case Mips::F2: case Mips::D2_64:
|
||||
case Mips::D1:
|
||||
case Mips::D1: case Mips::AC2:
|
||||
return 2;
|
||||
case Mips::V1: case Mips::V1_64: case Mips::F3: case Mips::D3_64:
|
||||
case Mips::AC3:
|
||||
return 3;
|
||||
case Mips::A0: case Mips::A0_64: case Mips::F4: case Mips::D4_64:
|
||||
case Mips::D2:
|
||||
|
Loading…
Reference in New Issue
Block a user