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

Default to -mno-bulk-memory-opt #23126

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Dec 10, 2024

This should fix the recent CI failures on the test-node-compat bot. Once #22873 lands this can, of course, be removed.

This should fix the recent CI failures on the test-node-compat bot.
Once emscripten-core#22873 lands this can, of course, be removed.
@sbc100 sbc100 requested a review from dschuff December 10, 2024 21:45
@sbc100
Copy link
Collaborator Author

sbc100 commented Dec 10, 2024

@sunfishcode, its maybe little annoying the users who have -mno-bulk-memory can still get bulk memory instruction added. Should we have -mno-bulk-memory imply -mno-bulk-memory-opt?

@sbc100 sbc100 requested a review from kripken December 10, 2024 22:06
@sbc100
Copy link
Collaborator Author

sbc100 commented Dec 10, 2024

PTAL, to green the CI again

@sbc100 sbc100 merged commit 82182e6 into emscripten-core:main Dec 10, 2024
26 of 28 checks passed
@sbc100 sbc100 deleted the disable_bulk_mem_opt branch December 10, 2024 23:07
@@ -11,5 +11,6 @@ j (_wasmfs_get_preloaded_child_path)
k (_wasmfs_get_num_preloaded_files)
l (_wasmfs_get_num_preloaded_dirs)
m (_wasmfs_copy_preloaded_file_data)
n (_abort_js)
o (random_get)
n (_emscripten_memcpy_js)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did this change?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because without -mno-bulk-memory-opt (part of this change) we were defaulting to using the bulk memory instruction here (by mistake).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes here originally made it in via a rebaseline that I did this morning: ea87423. I normally don't land re-baselines without review if they include symbol changes like this, but this one slipped through.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I see, I didn't review the earlier rebaseline, so this seemed like a regression to me...

Maybe we should add some automation for the automatic rebaselining? Like a script that does it + does a check if it is "trivial". Anything aside from size changes within some range could show an error to the user and suggest investigation?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's a great idea.

Then contributors could run the script on their PRs too and we could maybe remove the slack on those tests?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #23146

hedwigz pushed a commit to hedwigz/emscripten that referenced this pull request Dec 18, 2024
This should fix the recent CI failures on the test-node-compat bot. Once
emscripten-core#22873 lands this can, of course, be removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants