GithubHelp home page GithubHelp logo

Comments (2)

lgeek avatar lgeek commented on May 23, 2024

The workaround I've been using is to build MAMBO without NEON/VFP support. It should also also be linked against a NEON/VFP-free stdlib implementation.

However, you are right that the proper solution is to preserve the value of the VFP registers (note to self, also the value of FPSCR). I'll look into how to support VFP versions with either 16 or 32 registers, but I'm not too fussed about supporting processors with no VFP because as far as I know it's implemented in all ARMv7-A cores. By the way, d8-d15 are callee-saved, so you shouldn't have to save & restore them.

from mambo.

lgeek avatar lgeek commented on May 23, 2024

This was fully fixed by the patch from April 2017, however that assumes an implementation with 32 double precision FP registers. At the time I thought it might be useful to maintain compatibility with 16 FP register implementations by adding some sort of runtime detection. However, the NEON extension requires 32 FP registers and we're already building MAMBO assuming NEON is supported. Because the only ARMv7A processor without NEON support is Tegra2, we're not going to bother supporting implementations without NEON support or with only 16 FP registers.

from mambo.

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.