Skip to content

[s390x] Improve handling of negative i32 constants#6952

Merged
cfallin merged 1 commit intobytecodealliance:mainfrom
uweigand:s390x-iconst-fix
Sep 2, 2023
Merged

[s390x] Improve handling of negative i32 constants#6952
cfallin merged 1 commit intobytecodealliance:mainfrom
uweigand:s390x-iconst-fix

Conversation

@uweigand
Copy link
Member

@uweigand uweigand commented Sep 1, 2023

After #6850 was merged, the s390x back-end now always uses iilf instead of lhi to load negative constants, which is a small code size regression.

Fix the isle predicate to get back lhi whenever possible.

After bytecodealliance#6850 was merged,
the s390x back-end now always uses iilf instead of lhi to load negative
constants, which is a small code size regression.

Fix the isle predicate to get back lhi whenever possible.
@uweigand uweigand requested a review from a team as a code owner September 1, 2023 15:24
@uweigand uweigand requested review from elliottt and removed request for a team September 1, 2023 15:24
@cfallin cfallin added this pull request to the merge queue Sep 1, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 1, 2023
@cfallin
Copy link
Member

cfallin commented Sep 1, 2023

Looks like a flaky test with wasi-sockets (cc @sunfishcode?) -- retrying the merge.

@cfallin cfallin added this pull request to the merge queue Sep 1, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 1, 2023
@cfallin
Copy link
Member

cfallin commented Sep 1, 2023

Hmm, the socket test is failing again -- @sunfishcode would you mind taking a look at this test? The PR changes only s390x stuff so shouldn't affect a macOS/x86-64 execution.

@github-actions github-actions bot added the cranelift Issues related to the Cranelift code generator label Sep 1, 2023
@cfallin cfallin added this pull request to the merge queue Sep 1, 2023
Merged via the queue into bytecodealliance:main with commit 5e7ee8a Sep 2, 2023
eduardomourar pushed a commit to eduardomourar/wasmtime that referenced this pull request Sep 6, 2023
…6952)

After bytecodealliance#6850 was merged,
the s390x back-end now always uses iilf instead of lhi to load negative
constants, which is a small code size regression.

Fix the isle predicate to get back lhi whenever possible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift Issues related to the Cranelift code generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants