mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Specify S registers as D registers' sub-registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36280 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6120433e9e
commit
ba647becb9
@ -13,10 +13,10 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// Registers are identified with 4-bit ID numbers.
|
||||
class ARMReg<bits<4> num, string n, list<Register> aliases = []> : Register<n> {
|
||||
class ARMReg<bits<4> num, string n, list<Register> subregs = []> : Register<n> {
|
||||
field bits<4> Num;
|
||||
let Namespace = "ARM";
|
||||
let Aliases = aliases;
|
||||
let SubRegs = subregs;
|
||||
}
|
||||
|
||||
class ARMFReg<bits<5> num, string n> : Register<n> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user