From: zlice <zlice@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: desmume: update to 0.9.13
Date: Thu, 30 May 2024 13:16:05 +0200 [thread overview]
Message-ID: <20240530111605.B3F6127D3F@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50600@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1401 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/50600#issuecomment-2139330676
Comment:
Able to build aarch64 with some hackery.
classabbyamp said that aarch64 on void isn't built with vector math (`-march armv8-a`)
but for some reason this, and https://github.com/void-linux/void-packages/pull/50117 both seem to pick up `math.h` which includes `bits/math-vector.h` which has
```c
//#if __GNUC_PREREQ(9, 0) || __glibc_clang_prereq(11, 0)
//# define __ADVSIMD_VEC_MATH_SUPPORTED
//typedef __float32x4_t __f32x4_t;
//typedef __float64x2_t __f64x2_t;
//#elif __glibc_clang_prereq(8, 0)
//# define __ADVSIMD_VEC_MATH_SUPPORTED
//typedef __attribute__ ((__neon_vector_type__ (4))) float __f32x4_t;
//typedef __attribute__ ((__neon_vector_type__ (2))) double __f64x2_t;
//#endif
//
//#if __GNUC_PREREQ(10, 0) || __glibc_clang_prereq(11, 0)
//# define __SVE_VEC_MATH_SUPPORTED
//typedef __svfloat32_t __sv_f32_t;
//typedef __svfloat64_t __sv_f64_t;
//typedef __svbool_t __sv_bool_t;
//#endif
```
Commenting this out, along with some patches to disable neon instructions (desmume's types.h and configure args to define RJPEG_NO_SIMD) will build (guessing at performance cost, but arm6/7 build without anything special)
Not sure why `math-vector.h` picks up vector math if it is disabled or how this affects other packages
next prev parent reply other threads:[~2024-05-30 11:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-29 22:16 [PR PATCH] " zlice
2024-05-29 22:48 ` [PR PATCH] [Updated] " zlice
2024-05-30 11:16 ` zlice [this message]
2024-05-30 20:43 ` zlice
2024-05-30 20:51 ` zlice
2024-06-04 20:21 ` [PR PATCH] [Merged]: " cinerea0
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240530111605.B3F6127D3F@inbox.vuxu.org \
--to=zlice@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).