Code Monkey home page Code Monkey logo

Comments (7)

ptitSeb avatar ptitSeb commented on June 26, 2024

can you try to diff the result of the failing test with the reference?
For the build folder, do something like

git diff --no-index test07.out ../tests/ref07.txt

from box64.

Richard-Rogalski avatar Richard-Rogalski commented on June 26, 2024
diff --git a/test07.out b/../box64-9999//tests/ref07.txt
index bbad3e3..76649ab 100644
--- a/test07.out
+++ b/../box64-9999//tests/ref07.txt
@@ -1 +1 @@
-0 is 0.000000, sin(pi/2) is 0.000000 and 3*1.5 is 1.000000.
+0 is 0.000000, sin(pi/2) is 1.000000 and 3*1.5 is 4.500000.

from box64.

ptitSeb avatar ptitSeb commented on June 26, 2024

Ah ok. Looks like some issue with printf (or a variant) wrapping!

from box64.

ptitSeb avatar ptitSeb commented on June 26, 2024

Also, did you built with the PPC64LE cmake flags?

from box64.

Richard-Rogalski avatar Richard-Rogalski commented on June 26, 2024

sure did!!
Htuo.log < build log

from box64.

Richard-Rogalski avatar Richard-Rogalski commented on June 26, 2024

Let me know if there's anything wrong with my cmake flags (I package box for gentoo's guru repository). nogit was intentional as this is a git live ebuild

You are also free to ssh access at any point in the future too to test things or if you want to set up CI on my box

from box64.

TheCodex6824 avatar TheCodex6824 commented on June 26, 2024

I bisected this issue on a ppc64le power9 system (has the same issue with test07 failing) and got e2077c4 as the bad change. Looking into it more, I don't think that the change to the flag handling itself is the issue, but rather some packing / alignment side effects of changing the total size of the flags in x64emu_t.

My theory is that the scratch array declared later on in x64emu_t needs extra alignment on ppc64le for some reason, and it used to just happen to be right with the old flag fields. If I force the scratch array to be aligned to 16 bytes, the test starts passing.

from box64.

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.