Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 705066 Details for
Bug 917735
coreutils fails to build for aarch64
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to fix aarch64 bits of longlong.h
coreutils-aarch64-longlong.patch (text/plain), 1.57 KB, created by
Mark Salter
on 2013-03-04 16:38:37 UTC
(
hide
)
Description:
Patch to fix aarch64 bits of longlong.h
Filename:
MIME Type:
Creator:
Mark Salter
Created:
2013-03-04 16:38:37 UTC
Size:
1.57 KB
patch
obsolete
>diff --git a/src/longlong.h b/src/longlong.h >index e880587..023f47e 100644 >--- a/src/longlong.h >+++ b/src/longlong.h >@@ -530,23 +530,16 @@ extern UWtype __MPN(udiv_qrnnd) (UWtype *, UWtype, UWtype, UWtype); > #endif /* __arm__ */ > > #if defined (__aarch64__) && W_TYPE_SIZE == 64 >+/* FIXME: Extend the immediate range for the low word by using both >+ ADDS and SUBS, since they set carry in the same way. */ > #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ >- __asm__ ("adds\t%1, %4, %5\n\tadc\t%0, %2, %3" \ >+ __asm__ ("adds\t%1, %x4, %5\n\tadc\t%0, %x2, %x3" \ > : "=r" (sh), "=&r" (sl) \ >- : "r" (ah), "rZ" (bh), "%r" (al), "rI" (bl) __CLOBBER_CC) >+ : "rZ" (ah), "rZ" (bh), "%r" (al), "rI" (bl) __CLOBBER_CC) > #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ >- do { \ >- if (__builtin_constant_p (bl)) \ >- { \ >- __asm__ ("subs\t%1, %4, %5\n\tsbc\t%0, %2, %3" \ >- : "=r" (sh), "=&r" (sl) \ >- : "r" (ah), "r" (bh), "r" (al), "rI" (bl) __CLOBBER_CC); \ >- } \ >- else /* only bh might be a constant */ \ >- __asm__ ("subs\t%1, %4, %5\n\tsbc\t%0, %2, %3" \ >- : "=r" (sh), "=&r" (sl) \ >- : "r" (ah), "rZ" (bh), "r" (al), "rI" (bl) __CLOBBER_CC);\ >- } while (0) >+ __asm__ ("subs\t%1, %x4, %5\n\tsbc\t%0, %x2, %x3" \ >+ : "=r,r" (sh), "=&r,&r" (sl) \ >+ : "rZ,rZ" (ah), "rZ,rZ" (bh), "r,Z" (al), "rI,r" (bl) __CLOBBER_CC) > #define umul_ppmm(ph, pl, m0, m1) \ > do { \ > UDItype __m0 = (m0), __m1 = (m1); \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 917735
: 705066