* config/rl78/vregs.h: Add G10 register definitions.

From-SVN: r202638
This commit is contained in:
DJ Delorie 2013-09-16 17:58:05 -04:00 committed by DJ Delorie
parent 5c0029ded7
commit 844ad6c640
2 changed files with 25 additions and 0 deletions

View File

@ -1,5 +1,6 @@
2013-09-16 DJ Delorie <dj@redhat.com>
* config/rl78/vregs.h: Add G10 register definitions.
* config/rl78/lib2mul.c: Enable for RL78/G10.
* config/rl78/lib2div.c: Likewise.
* config/rl78/lshrsi3.S: Use vregs.h.

View File

@ -11,6 +11,29 @@ r_5 = 0xffefd
r_6 = 0xffefe
r_7 = 0xffeff
#ifdef __RL78_G10__
; clobberable
r8 = 0xffec8
r9 = 0xffec9
r10 = 0xffeca
r11 = 0xffecb
r12 = 0xffecc
r13 = 0xffecd
r14 = 0xffece
r15 = 0xffecf
; preserved
r16 = 0xffed0
r17 = 0xffed1
r18 = 0xffed2
r19 = 0xffed3
r20 = 0xffed4
r21 = 0xffed5
r22 = 0xffed6
r23 = 0xffed7
#else
; clobberable
r8 = 0xffef0
r9 = 0xffef1
@ -30,3 +53,4 @@ r21 = 0xffeed
r22 = 0xffeee
r23 = 0xffeef
#endif