Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nettle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Justus Winter
nettle
Commits
c922a4f8
Commit
c922a4f8
authored
2 months ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
ppc64: Use assembly files only if __VSX__ is defined.
parent
f3bf1c86
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+4
-0
4 additions, 0 deletions
ChangeLog
configure.ac
+10
-0
10 additions, 0 deletions
configure.ac
with
14 additions
and
0 deletions
ChangeLog
+
4
−
0
View file @
c922a4f8
2025-04-02 Niels Möller <nisse@lysator.liu.se>
2025-04-02 Niels Möller <nisse@lysator.liu.se>
Cherry-picked from branch nettle-3.10-fixes:
* configure.ac: For ppc64, check if __VSX__ is defined, and
disable use of assembly if it isn't.
* .gitlab-ci.yml: Fix native/fat to actually run make
* .gitlab-ci.yml: Fix native/fat to actually run make
check-fat-override. Add an EXTRA_CHECK_TARGET variable also for
check-fat-override. Add an EXTRA_CHECK_TARGET variable also for
the .cross-build template, use it for check-fat-override where
the .cross-build template, use it for check-fat-override where
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
10
−
0
View file @
c922a4f8
...
@@ -367,6 +367,16 @@ case "$host_cpu" in
...
@@ -367,6 +367,16 @@ case "$host_cpu" in
]], [[]])], [], [
]], [[]])], [], [
ELFV2_ABI=yes
ELFV2_ABI=yes
])
])
if test "$enable_assembler" = yes ; then
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#if defined(__VSX__)
#error VSX available
#endif
]], [[]])], [
AC_MSG_WARN([VSX instructions (Power7 or later) not available, disabling use of assembly.])
enable_assembler=no
], [])
fi
fi
fi
;;
;;
aarch64*)
aarch64*)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment