Skip to content

Remove big endian support - #1412

Merged
bnoordhuis merged 2 commits into
quickjs-ng:masterfrom
bnoordhuis:rm-be
Mar 19, 2026
Merged

bnoordhuis merged 2 commits into
quickjs-ng:masterfrom
bnoordhuis:rm-be

Conversation

@bnoordhuis

Copy link
Copy Markdown
Contributor

Don't try to fix up the JS and regexp bytecodes by byte-swapping opcodes, it's too error prone and has ever diminishing returns; there simply aren't many big endian targets left.

It may or may not still be possible to run quickjs on big endian targets but that's no longer guaranteed.

Fixes: #1122

Don't try to fix up the JS and regexp bytecodes by byte-swapping
opcodes, it's too error prone and has ever diminishing returns;
there simply aren't many big endian targets left.

It may or may not still be possible to run quickjs on big endian
targets but that's no longer guaranteed.

Fixes: quickjs-ng#1122

@saghul saghul left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🪓

@bnoordhuis
bnoordhuis merged commit 75f9936 into quickjs-ng:master Mar 19, 2026
122 checks passed
@bnoordhuis
bnoordhuis deleted the rm-be branch March 19, 2026 23:11
@barracuda156

Copy link
Copy Markdown
Contributor

@bnoordhuis Will it be easier to have a separate BE-specific version?
Killing support is not a fix to the bug :)
We need quickjs-ng working.

@saghul saghul mentioned this pull request Mar 21, 2026
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.

Regression on powerpc: segfault on evaluating JS code

3 participants