Giter Site home page Giter Site logo

Comments (6)

sagamusix avatar sagamusix commented on May 20, 2024

Okay, I did a very quick modification to OpenMPT to instruct the CPU to flush all denormals to zero before calling the plugin's process function. It causes the plugin to behave well again, so there are definitely some denormals being processed. Some hosts may always be enforcing flushing denormals to zero so the problem does not manifest in them, but I don't think that the host should do that. If the plugin relies on flushing denormals to zero, it should do the necessary CPU state modifications, or it should avoid generating denormals altogether.

from k-meter.

mzuther avatar mzuther commented on May 20, 2024

Hi!

I've got very little time these days and possibly will for the coming months. That being said, I have devised a work-around (one single line, you wouldn't believe it) and committed it to a branch called "use_denormals". Feel free to test this -- if it solves the problem, I will release an updated version.

Thanks!

Martin

from k-meter.

sagamusix avatar sagamusix commented on May 20, 2024

Hi Martin, the use_denormals branch does indeed fix the issue. Thanks for the quick reply!

from k-meter.

mzuther avatar mzuther commented on May 20, 2024

That's great to hear! Could you please check the use_denormals branch once again? I have dropped all manual denormalization and would like to know whether that is prudent. :)

Thanks,

Martin

from k-meter.

sagamusix avatar sagamusix commented on May 20, 2024

Still seems to work as intended with the latest changes.

from k-meter.

mzuther avatar mzuther commented on May 20, 2024

Thanks! I have just released a new version with the use_denormals fix.

Martin

from k-meter.

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.