Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-define insted of undef in Neon #188

Closed
castigli opened this issue May 7, 2021 · 10 comments
Closed

re-define insted of undef in Neon #188

castigli opened this issue May 7, 2021 · 10 comments

Comments

@castigli
Copy link

castigli commented May 7, 2021

Hi @jan-wassenberg, I believe there is a typo here

#define HWY_NEON_BUILD_ARG_HWY_TESTBIT

I think it should be #undef rather then a re-defintion.

@jan-wassenberg
Copy link
Member

Hi @castigli, oops, yes, thanks for catching this. Would you like to try sending an MR or prefer that we fix it?

@castigli
Copy link
Author

I will try sending a MR this evening, but feel free to ignore it and fix it on your side if it is more convenient!

@jan-wassenberg
Copy link
Member

@castigli sounds good, let's try the MR :)

@castigli
Copy link
Author

Hi @jan-wassenberg, just a quick a update on this. I was about to submit a PR when I realized that I need to submit a CLA.
Since I am working on it not only on my free time need to check what steps I need to take on the EPFL/Blue Brain Project side in order to be able to sign the agreement.

@jan-wassenberg
Copy link
Member

@castigli oh, right. AFAICS we do not yet have a blanket CLA for your organization. Here's some info, hope this helps?

@stefson
Copy link

stefson commented May 16, 2021

hi everyone, I ran into these errors when building firefox nightly on arm with neon:

19:53.10 /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-90.0/work/firefox-90.0/third_party/highway/hwy/ops/arm_neon-inl.h:876:326: error: no matching function for call to 'hwy::N_NEON::Mask128<float, 4>::Mask128(uint32x4_t)'

do you think your patch will solve this? thanks

here is the full build log, in case you're interested: firefox-90-nightly-broken-arm.patch.zip , grep for error:` to find them all

@jan-wassenberg
Copy link
Member

@stefson thank you for reporting this. It is unrelated to this #undef; looks like GCC 9.3 for armv7 is stricter about casting vectors. I expect to have a fix for this tomorrow.

copybara-service bot pushed a commit that referenced this issue May 17, 2021
* Add wrapper function for comparisons, reorder functions as required
* Unsigned mask type
* Add casts
* Simpler GetLane; use vget instead of []
* Fix TESTBIT macro undef
* Add namespace for code folding
Refs #192,#188,#93

PiperOrigin-RevId: 374169733
copybara-service bot pushed a commit that referenced this issue May 17, 2021
* Add wrapper function for comparisons, reorder functions as required
* Unsigned mask type
* Add casts
* Simpler GetLane; use vget instead of []
* Fix TESTBIT macro undef
* Add namespace for code folding
Refs #192,#188,#93

PiperOrigin-RevId: 374169733
copybara-service bot pushed a commit that referenced this issue May 17, 2021
* Add wrapper function for comparisons, reorder functions as required
* Unsigned mask type
* Add casts
* Simpler GetLane; use vget instead of []
* Fix TESTBIT macro undef
* Add namespace for code folding
Refs #192,#188,#93

PiperOrigin-RevId: 374169733
copybara-service bot pushed a commit that referenced this issue May 17, 2021
* Add wrapper function for comparisons, reorder functions as required
* Unsigned mask type
* Add casts
* Simpler GetLane; use vget instead of []
* Fix TESTBIT macro undef
* Add namespace for code folding
Refs #192,#188,#93

PiperOrigin-RevId: 374187895
@jan-wassenberg
Copy link
Member

@castigli I've fixed the undef as part of the fixes for stefson's report :)

@castigli
Copy link
Author

@jan-wassenberg thank you for letting me know, I am pushing on my side to get the CLA approved. Hopefully it won't take too long!

@jan-wassenberg
Copy link
Member

@castigli sounds good, thanks for sharing, do let me know if I can help with the process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants