Git Product home page Git Product logo

Comments (4)

jan-wassenberg avatar jan-wassenberg commented on May 8, 2024

Hi, thanks for reporting this! The intention is definitely to gracefully fall back to a generic fallback implementation.

The HWY_SCALAR fallback might be disabled if we compile with say -msse4 (targets.h could then consider HWY_SCALAR superseded and only generate sse4, which would crash when run on an old enough CPU). Our CMake file does not specify such a flag, though.

It's also possible that the builtin_trap in hwy::Abort (called when a test fails) would manifest as SIGILL, but it's surprising that we do not see any other output if that were the case.

Any chance you could run this in a debugger to see where exactly this is happening?

FYI tests/hwy_test has moved to highway_test in 0.12.0.

from highway.

eclipseo avatar eclipseo commented on May 8, 2024

Sadly I can't test it myself as I don't have an old system laying around. It was reported to me by another user.
Could setting DHWY_COMPILE_ALL_ATTAINABLE help?

from highway.

jan-wassenberg avatar jan-wassenberg commented on May 8, 2024

Could setting DHWY_COMPILE_ALL_ATTAINABLE help?

Yes, that would prevent disabling the fallback, if that is indeed the problem.

from highway.

eclipseo avatar eclipseo commented on May 8, 2024

This has been worked out downstream with bug reviewer.

from highway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.