mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-12 23:05:51 +08:00
re PR target/41015 (SH: miscompilation for sh4-linux)
PR target/41015 * longlong.h [__sh__] (udiv_qrnnd): Add T register to clobber list. (sub_ddmmss): Likewise. From-SVN: r150635
This commit is contained in:
parent
e8f43da6f9
commit
092f3f9795
@ -1,3 +1,9 @@
|
||||
2009-08-10 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
|
||||
|
||||
PR target/41015
|
||||
* longlong.h [__sh__] (udiv_qrnnd): Add T register to clobber list.
|
||||
(sub_ddmmss): Likewise.
|
||||
|
||||
2009-08-10 Andreas Tobler <a.tobler@schweiz.org>
|
||||
|
||||
PR bootstrap/41018
|
||||
|
@ -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__ */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user