svn commit: r262269 - projects/clang-sparc64/contrib/gcc
Dimitry Andric
dim at FreeBSD.org
Thu Feb 20 23:08:02 UTC 2014
Author: dim
Date: Thu Feb 20 23:08:01 2014
New Revision: 262269
URL: http://svnweb.freebsd.org/changeset/base/262269
Log:
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.
Modified:
projects/clang-sparc64/contrib/gcc/longlong.h
Modified: projects/clang-sparc64/contrib/gcc/longlong.h
==============================================================================
--- projects/clang-sparc64/contrib/gcc/longlong.h Thu Feb 20 23:02:42 2014 (r262268)
+++ projects/clang-sparc64/contrib/gcc/longlong.h Thu Feb 20 23:08:01 2014 (r262269)
@@ -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)) \
More information about the svn-src-projects
mailing list