]> sourceware.org Git - newlib-cygwin.git/commitdiff
Add sh2e support
authorNick Clifton <nickc@redhat.com>
Fri, 24 Jan 2003 15:46:04 +0000 (15:46 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 24 Jan 2003 15:46:04 +0000 (15:46 +0000)
newlib/ChangeLog
newlib/libc/include/machine/ieeefp.h
newlib/libc/machine/sh/asm.h
newlib/libc/machine/sh/setjmp.S

index e30ea212415a96f97719ee44c3b84cb1a984f40d..29bd68cc0737912e392cecdcc3f1ce3ea1171531 100644 (file)
@@ -1,3 +1,13 @@
+2003-01-24  Nick Clifton  <nickc@redhat.com>
+
+       * Add sh2e support:
+
+       2002-04-02  Alexandre Oliva  <aoliva@redhat.com>
+
+               * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
+               * libc/machine/sh/setjmp.S: Likewise.
+               * libc/include/machine/ieeefp.h: Likewise.
+
 2003-01-24  Corinna Vinschen  <corinna@vinschen.de>
 
        * libc/include/sys/unistd.h: Add setregid and setreuid declarations
index bf3d4440b089be7a8ac5a60161f00b2036192486..3fcb9a4ee9749400aaefa595e14fce7181d410cb 100644 (file)
@@ -94,7 +94,7 @@
 #else
 #define __IEEE_BIG_ENDIAN
 #endif
-#if defined(__SH3E__) || defined(__SH4_SINGLE_ONLY__)
+#if defined(__SH2E__) || defined(__SH3E__) || defined(__SH4_SINGLE_ONLY__)
 #define _DOUBLE_IS_32BITS
 #endif
 #endif
index 5b85c501e7610b4a6e92f4dde1905b3c34e61744..99a1866a1436e268ed8897b3f753726babfdbc4d 100644 (file)
@@ -22,7 +22,7 @@
 #define ENTRY(name)    \
        _ENTRY(_C_LABEL(name))
 
-#if (defined (__sh2__) || defined (__sh3__) || defined (__SH3E__) \
+#if (defined (__sh2__) || defined (__SH2E__) || defined (__sh3__) || defined (__SH3E__) \
      || defined (__SH4_SINGLE__) || defined (__SH4__)) \
      || defined (__SH4_SINGLE_ONLY__) || defined (__SH5__)
 #define DELAYED_BRANCHES
index 9508496f1edd23458e7a492b690c1c2a88a2c954..520218f234abb42f71bdebdbf6b246c7ad0652b6 100644 (file)
@@ -72,7 +72,7 @@ ENTRY(setjmp)
        movi    0, r2
        blink   tr0, r63
 #else
-#if defined (__SH3E__) || defined(__SH4_SINGLE__) || defined(__SH4__) || defined(__SH4_SINGLE_ONLY__)
+#if defined (__SH2E__) || defined (__SH3E__) || defined(__SH4_SINGLE__) || defined(__SH4__) || defined(__SH4_SINGLE_ONLY__)
        add     #(13*4),r4
 #else
        add     #(9*4),r4
@@ -80,7 +80,7 @@ ENTRY(setjmp)
 
        sts.l   pr,@-r4
 
-#if defined (__SH3E__) || defined(__SH4_SINGLE__) || defined(__SH4__) || defined(__SH4_SINGLE_ONLY__)
+#if defined (__SH2E__) || defined (__SH3E__) || defined(__SH4_SINGLE__) || defined(__SH4__) || defined(__SH4_SINGLE_ONLY__)
        fmov.s  fr15,@-r4       ! call saved floating point registers
        fmov.s  fr14,@-r4
        fmov.s  fr13,@-r4
@@ -173,7 +173,7 @@ ENTRY(longjmp)
        mov.l   @r4+,r14
        mov.l   @r4+,r15
 
-#if defined (__SH3E__) || defined(__SH4_SINGLE__) || defined(__SH4__) || defined(__SH4_SINGLE_ONLY__)
+#if defined (__SH2E__) || defined (__SH3E__) || defined(__SH4_SINGLE__) || defined(__SH4__) || defined(__SH4_SINGLE_ONLY__)
        fmov.s  @r4+,fr12       ! call saved floating point registers
        fmov.s  @r4+,fr13
        fmov.s  @r4+,fr14
This page took 0.042131 seconds and 5 git commands to generate.