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

Regression Test issue when building SimEng : "fcvtzu" ARM instruction #404

Open
elfmath opened this issue Mar 11, 2024 · 1 comment
Open

Comments

@elfmath
Copy link

elfmath commented Mar 11, 2024

Goals

As a end-user of SimEng, I wish to build SimEng and pass regression tests before installing it. So that I can trust my installation

Issue

Regression test for "fcvtzu" instruction failed for emulation simulatio-mode.
Failing tests link to Issue #367

From LastTest.log trace file :

[  FAILED  ] AArch64/InstFloat.fcvtzu/emulation, where GetParam() = (0, "{}")

When looking in the file we have this failure for the test above :

...../SimEng/test/regression/aarch64/instructions/float.cc:615: Failure
Expected equality of these values:
  (getGeneralRegister<uint64_t>(9))
    Which is: 0
  (18446744073709551615UL)
    Which is: 18446744073709551615

Investigation Leads

Reproduction

Try to build SimEng with :

  • State of the git : tag 0.9.6
  • cmake version 3.21.4
  • gcc 7.5.0
  • LLVM precompiled version 14.0.5
  • Commands to compile and run test before installation :
mkdir -p $SIMENG_BUILD_DIR
cmake -B $SIMENG_BUILD_DIR -S $SIMENG_SRC_DIR -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$SIMENG_HOME -DSIMENG_ENABLE_TESTS=ON -DSIMENG_USE_EXTERNAL_LLVM=ON -DLLVM_DIR=$LLVM_DIR
cmake --build $SIMENG_BUILD_DIR -j{nproc}
cmake --build $SIMENG_BUILD_DIR --target test
@dANW34V3R
Copy link
Contributor

Potentially this has been fixed in the upcoming warnings PR #408. I will see if this fixes it on CentOS 7 as you mentioned this as your environment in #403.

@dANW34V3R dANW34V3R mentioned this issue Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ToDo
Development

No branches or pull requests

2 participants