mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
Remove some regs that are not used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22975 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9dc4d3cbac
commit
1f24df6324
@ -97,7 +97,7 @@ let isCall = 1,
|
||||
// All calls clobber the non-callee saved registers...
|
||||
Defs = [R0,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,
|
||||
F0,F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11,F12,F13,
|
||||
LR,XER,CTR,
|
||||
LR,CTR,
|
||||
CR0,CR1,CR5,CR6,CR7] in {
|
||||
// Convenient aliases for call instructions
|
||||
def CALLpcrel : IForm<18, 0, 1, (ops target:$func, variable_ops), "bl $func">;
|
||||
|
@ -79,15 +79,8 @@ def CR2 : CR<2, "cr2">; def CR3 : CR<3, "cr3">;
|
||||
def CR4 : CR<4, "cr4">; def CR5 : CR<5, "cr5">;
|
||||
def CR6 : CR<6, "cr6">; def CR7 : CR<7, "cr7">;
|
||||
|
||||
// Floating-point status and control register
|
||||
def FPSCR : SPR<0, "fpscr">;
|
||||
// fiXed-point Exception Register? :-)
|
||||
def XER : SPR<1, "xer">;
|
||||
// Link register
|
||||
def LR : SPR<2, "lr">;
|
||||
// Count register
|
||||
def CTR : SPR<3, "ctr">;
|
||||
// These are the "time base" registers which are read-only in user mode.
|
||||
def TBL : SPR<4, "tbl">;
|
||||
def TBU : SPR<5, "tbu">;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user