-
Notifications
You must be signed in to change notification settings - Fork 510
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
pmem2: enable movdir64b compilation but disable it in the runtime #5471
Conversation
This pull request introduces 2 alerts when merging 4cfddc7 into b2b1563 - view on LGTM.com new alerts:
|
This pull request introduces 2 alerts when merging cb304f9 into b2b1563 - view on LGTM.com new alerts:
|
This pull request introduces 2 alerts when merging 9ad3fb7 into b2b1563 - view on LGTM.com new alerts:
|
Codecov Report
@@ Coverage Diff @@
## stable-1.12 #5471 +/- ##
===============================================
+ Coverage 72.22% 72.28% +0.05%
===============================================
Files 193 195 +2
Lines 30335 30215 -120
===============================================
- Hits 21909 21840 -69
+ Misses 8426 8375 -51 |
Have you tested if tests with Code quote: @t.require_architectures('x86_64')
@t.add_params('wc_workaround', ['on', 'off', 'default'])
class TEST5(Pmem2Memcpy):
envs1 = ("PMEM_MOVDIR64B",) |
Could you fix the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 20 files reviewed, 1 unresolved discussion (waiting on @kswiecicki)
src/test/pmem2_memcpy/TESTS.py
line 80 at r1 (raw file):
Previously, kswiecicki (Krzysztof Święcicki) wrote…
Have you tested if tests with
PMEM_MOVDIR64B=1
are not failing on the platforms lacking movdir64b instruction?
I'm wondering if the tests are aware that even ifPMEM_MOVDIR64B
is set to 1 it still won't be used if the platform doesn't support it.
Yeah. it works. Our tests are very simple. We are not checking which instruction is used, but only a correction of operation.
In your case, if forced instruction is not available, PMDK is selecting a different one.
done |
This change is