Date: Thu, 20 Feb 2014 23:08:02 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r262269 - projects/clang-sparc64/contrib/gcc Message-ID: <201402202308.s1KN82lA003760@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)) \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402202308.s1KN82lA003760>