mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
register naming cleanup (s/ip/r12/)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78806 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5232f418c6
commit
378756c0f2
@ -1428,8 +1428,8 @@ let Defs =
|
||||
AddrModeNone, SizeSpecial, IndexModeNone,
|
||||
Pseudo, NoItinerary,
|
||||
"str sp, [$src, #+8] @ eh_setjmp begin\n\t"
|
||||
"add ip, pc, #8\n\t"
|
||||
"str ip, [$src, #+4]\n\t"
|
||||
"add r12, pc, #8\n\t"
|
||||
"str r12, [$src, #+4]\n\t"
|
||||
"mov r0, #0\n\t"
|
||||
"add pc, pc, #0\n\t"
|
||||
"mov r0, #1 @ eh_setjmp end\n\t", "",
|
||||
|
@ -1069,9 +1069,9 @@ let Defs =
|
||||
def t2Int_eh_sjlj_setjmp : Thumb2XI<(outs), (ins GPR:$src),
|
||||
AddrModeNone, SizeSpecial, NoItinerary,
|
||||
"str.w sp, [$src, #+8] @ eh_setjmp begin\n"
|
||||
"\tadr ip, 0f\n"
|
||||
"\torr ip, #1\n"
|
||||
"\tstr.w ip, [$src, #+4]\n"
|
||||
"\tadr r12, 0f\n"
|
||||
"\torr r12, #1\n"
|
||||
"\tstr.w r12, [$src, #+4]\n"
|
||||
"\tmovs r0, #0\n"
|
||||
"\tb 1f\n"
|
||||
"0:\tmovs r0, #1 @ eh_setjmp end\n"
|
||||
|
Loading…
Reference in New Issue
Block a user