summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/sh/asm.h
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2002-07-07 00:27:20 +0000
committerJoern Rennecke <joern.rennecke@embecosm.com>2002-07-07 00:27:20 +0000
commita31df303476b91404062ec3bac44e484efec7fee (patch)
tree9361ef3e8014f9e932c99f54ca5649ab1631687c /newlib/libc/machine/sh/asm.h
parent6bb769efa0a993613e311a586362dbd780a41ca5 (diff)
downloadcygnal-a31df303476b91404062ec3bac44e484efec7fee.tar.gz
cygnal-a31df303476b91404062ec3bac44e484efec7fee.tar.bz2
cygnal-a31df303476b91404062ec3bac44e484efec7fee.zip
* libc/machine/sh/Makefile.am (lib_a_SOURCES):
Make strcmp.S unconditional. * libc/machine/sh/Makefile.in: Regenerate. * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ . * strcmp.S (strcmp): Add SHmedia variant. Use different registers for SHcompact.
Diffstat (limited to 'newlib/libc/machine/sh/asm.h')
-rw-r--r--newlib/libc/machine/sh/asm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libc/machine/sh/asm.h b/newlib/libc/machine/sh/asm.h
index 2f809afa2..5b85c501e 100644
--- a/newlib/libc/machine/sh/asm.h
+++ b/newlib/libc/machine/sh/asm.h
@@ -23,7 +23,8 @@
_ENTRY(_C_LABEL(name))
#if (defined (__sh2__) || defined (__sh3__) || defined (__SH3E__) \
- || defined (__SH4_SINGLE__) || defined (__SH4__)) || defined(__SH4_SINGLE_ONLY__)
+ || defined (__SH4_SINGLE__) || defined (__SH4__)) \
+ || defined (__SH4_SINGLE_ONLY__) || defined (__SH5__)
#define DELAYED_BRANCHES
#define SL(branch, dest, in_slot, in_slot_arg2) \
branch##.s dest; in_slot, in_slot_arg2