Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
1d400f7a
Commit
1d400f7a
authored
Mar 28, 2014
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: gmp: fix thumb2 build
parent
e4b10641
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
contrib/src/gmp/rules.mak
contrib/src/gmp/rules.mak
+1
-0
contrib/src/gmp/thumb.patch
contrib/src/gmp/thumb.patch
+22
-0
No files found.
contrib/src/gmp/rules.mak
View file @
1d400f7a
...
...
@@ -10,6 +10,7 @@ $(TARBALLS)/gmp-$(GMP_VERSION).tar.bz2:
gmp
:
gmp-$(GMP_VERSION).tar.bz2 .sum-gmp
$(UNPACK)
$(APPLY)
$(SRC)
/gmp/thumb.patch
$(MOVE)
.gmp
:
gmp
...
...
contrib/src/gmp/thumb.patch
0 → 100644
View file @
1d400f7a
--- gmp/mpn/generic/div_qr_1n_pi1.c.orig 2014-03-28 16:11:23.648263232 +0100
+++ gmp/mpn/generic/div_qr_1n_pi1.c 2014-03-28 16:22:29.376932722 +0100
@@ -131,10 +131,19 @@
#endif
#if defined (__arm__) && W_TYPE_SIZE == 32
+#ifdef __thumb2__
+#define itcc "it cc\n\t"
+#define itcs "it cs\n\t"
+#else
+#define itcc
+#define itcs
+#endif
#define add_mssaaaa(m, sh, sl, ah, al, bh, bl) \
__asm__ ( "adds %2, %5, %6\n\t" \
"adcs %1, %3, %4\n\t" \
+ itcc \
"movcc %0, #0\n\t" \
+ itcs \
"movcs %0, #-1" \
: "=r" (m), "=r" (sh), "=&r" (sl) \
: "r" (ah), "rI" (bh), "%r" (al), "rI" (bl) __CLOBBER_CC)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment