summaryrefslogtreecommitdiff
path: root/gcc/longlong.h
diff options
context:
space:
mode:
authorkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-10 20:57:35 +0000
committerkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-10 20:57:35 +0000
commitb71fdb0bd00381955ed9f85803d1080e4f1dc725 (patch)
tree7b369ce98fb57352c5441746a93a4025b1c4ce38 /gcc/longlong.h
parent74d6b34bc5210929bf52593bd9e536acbf6e6d4e (diff)
downloadgcc-b71fdb0bd00381955ed9f85803d1080e4f1dc725.tar.gz
PR target/41015
* longlong.h [__sh__] (udiv_qrnnd): Add T register to clobber list. (sub_ddmmss): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150635 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/longlong.h')
-rw-r--r--gcc/longlong.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/longlong.h b/gcc/longlong.h
index 57308bd9b79..11e70139957 100644
--- a/gcc/longlong.h
+++ b/gcc/longlong.h
@@ -982,7 +982,7 @@ UDItype __umulsidi3 (USItype, USItype);
" or r1,%0" \
: "=r" (q), "=&z" (r) \
: "1" (n1), "r" (n0), "rm" (d), "r" (&__udiv_qrnnd_16) \
- : "r1", "r2", "r4", "r5", "r6", "pr"); \
+ : "r1", "r2", "r4", "r5", "r6", "pr", "t"); \
} while (0)
#define UDIV_TIME 80
@@ -990,7 +990,7 @@ UDItype __umulsidi3 (USItype, USItype);
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
__asm__ ("clrt;subc %5,%1; subc %4,%0" \
: "=r" (sh), "=r" (sl) \
- : "0" (ah), "1" (al), "r" (bh), "r" (bl))
+ : "0" (ah), "1" (al), "r" (bh), "r" (bl) : "t")
#endif /* __sh__ */