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
@ -1086,8 +1086,8 @@ UDItype __umulsidi3 (USItype, USItype);
|
||||
"bcs,a,pn %%xcc, 1f\n\t" \
|
||||
"add %0, 1, %0\n" \
|
||||
"1:" \
|
||||
: "=r" ((UDItype)(sh)), \
|
||||
"=&r" ((UDItype)(sl)) \
|
||||
: "=r" (sh), \
|
||||
"=&r" (sl) \
|
||||
: "%rJ" ((UDItype)(ah)), \
|
||||
"rI" ((UDItype)(bh)), \
|
||||
"%rJ" ((UDItype)(al)), \
|
||||
@ -1100,8 +1100,8 @@ UDItype __umulsidi3 (USItype, USItype);
|
||||
"bcs,a,pn %%xcc, 1f\n\t" \
|
||||
"sub %0, 1, %0\n\t" \
|
||||
"1:" \
|
||||
: "=r" ((UDItype)(sh)), \
|
||||
"=&r" ((UDItype)(sl)) \
|
||||
: "=r" (sh), \
|
||||
"=&r" (sl) \
|
||||
: "rJ" ((UDItype)(ah)), \
|
||||
"rI" ((UDItype)(bh)), \
|
||||
"rJ" ((UDItype)(al)), \
|
||||
@ -1133,8 +1133,8 @@ UDItype __umulsidi3 (USItype, USItype);
|
||||
"sllx %3,32,%3\n\t" \
|
||||
"add %1,%3,%1\n\t" \
|
||||
"add %5,%2,%0" \
|
||||
: "=r" ((UDItype)(wh)), \
|
||||
"=&r" ((UDItype)(wl)), \
|
||||
: "=r" (wh), \
|
||||
"=&r" (wl), \
|
||||
"=&r" (tmp1), "=&r" (tmp2), "=&r" (tmp3), "=&r" (tmp4) \
|
||||
: "r" ((UDItype)(u)), \
|
||||
"r" ((UDItype)(v)) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user