Similar to r211505 for x86, remove unneeded casts in inline assembly for
sparc64 from contrib/gcc/longlong.h, which are considered "heinous" GNU extensions by clang.
This commit is contained in:
parent
19e61966d6
commit
f5e6413717
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/clang-sparc64/; revision=262269
@ -1086,8 +1086,8 @@ UDItype __umulsidi3 (USItype, USItype);
|
|||||||
"bcs,a,pn %%xcc, 1f\n\t" \
|
"bcs,a,pn %%xcc, 1f\n\t" \
|
||||||
"add %0, 1, %0\n" \
|
"add %0, 1, %0\n" \
|
||||||
"1:" \
|
"1:" \
|
||||||
: "=r" ((UDItype)(sh)), \
|
: "=r" (sh), \
|
||||||
"=&r" ((UDItype)(sl)) \
|
"=&r" (sl) \
|
||||||
: "%rJ" ((UDItype)(ah)), \
|
: "%rJ" ((UDItype)(ah)), \
|
||||||
"rI" ((UDItype)(bh)), \
|
"rI" ((UDItype)(bh)), \
|
||||||
"%rJ" ((UDItype)(al)), \
|
"%rJ" ((UDItype)(al)), \
|
||||||
@ -1100,8 +1100,8 @@ UDItype __umulsidi3 (USItype, USItype);
|
|||||||
"bcs,a,pn %%xcc, 1f\n\t" \
|
"bcs,a,pn %%xcc, 1f\n\t" \
|
||||||
"sub %0, 1, %0\n\t" \
|
"sub %0, 1, %0\n\t" \
|
||||||
"1:" \
|
"1:" \
|
||||||
: "=r" ((UDItype)(sh)), \
|
: "=r" (sh), \
|
||||||
"=&r" ((UDItype)(sl)) \
|
"=&r" (sl) \
|
||||||
: "rJ" ((UDItype)(ah)), \
|
: "rJ" ((UDItype)(ah)), \
|
||||||
"rI" ((UDItype)(bh)), \
|
"rI" ((UDItype)(bh)), \
|
||||||
"rJ" ((UDItype)(al)), \
|
"rJ" ((UDItype)(al)), \
|
||||||
@ -1133,8 +1133,8 @@ UDItype __umulsidi3 (USItype, USItype);
|
|||||||
"sllx %3,32,%3\n\t" \
|
"sllx %3,32,%3\n\t" \
|
||||||
"add %1,%3,%1\n\t" \
|
"add %1,%3,%1\n\t" \
|
||||||
"add %5,%2,%0" \
|
"add %5,%2,%0" \
|
||||||
: "=r" ((UDItype)(wh)), \
|
: "=r" (wh), \
|
||||||
"=&r" ((UDItype)(wl)), \
|
"=&r" (wl), \
|
||||||
"=&r" (tmp1), "=&r" (tmp2), "=&r" (tmp3), "=&r" (tmp4) \
|
"=&r" (tmp1), "=&r" (tmp2), "=&r" (tmp3), "=&r" (tmp4) \
|
||||||
: "r" ((UDItype)(u)), \
|
: "r" ((UDItype)(u)), \
|
||||||
"r" ((UDItype)(v)) \
|
"r" ((UDItype)(v)) \
|
||||||
|
Loading…
Reference in New Issue
Block a user