Skip to content

[v16.x] deps: V8: Add Power10 to the supported list and enable related features#38489

Closed
miladfarca wants to merge 2 commits into
nodejs:v16.x-stagingfrom
miladfarca:p10-port
Closed

[v16.x] deps: V8: Add Power10 to the supported list and enable related features#38489
miladfarca wants to merge 2 commits into
nodejs:v16.x-stagingfrom
miladfarca:p10-port

Conversation

@miladfarca

@miladfarca miladfarca commented Apr 30, 2021

Copy link
Copy Markdown
Contributor

Please note that enum values are slightly different from V8 upstream, i.e PPC_POWER10 instead of kPPCPower10.
We also have SIMD enabled upstream which will not be backported here.

Refs: v8/v8@530080c

@github-actions github-actions Bot added build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. v16.x v8 engine Issues and PRs related to the V8 dependency. labels Apr 30, 2021
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@miladfarca

Copy link
Copy Markdown
Contributor Author

@richardlau is test-crypto-timing-safe-equal-benchmarks flaky on s390? as my changes are ppc specific.

@richardlau

Copy link
Copy Markdown
Member

@miladfarca The test has been failing a lot recently on s390x: #38226
It’s not clear as to what has changed to make the test fail and whether or not there is an underlying defect.

@miladfarca

miladfarca commented May 1, 2021

Copy link
Copy Markdown
Contributor Author

Thanks for the link. Yes some other tests seem to be flaky too i.e inspector-cli/test-inspector-cli-address failed on AIX and inspector-cli/test-inspector-cli-pid on ppc on the previous runs.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

nodejs-github-bot commented May 3, 2021

Copy link
Copy Markdown
Collaborator

@aduh95

aduh95 commented May 3, 2021

Copy link
Copy Markdown
Contributor

Should this target master instead of v16.x-staging?

@miladfarca

Copy link
Copy Markdown
Contributor Author

@aduh95 There is already a PR open to update V8 on master, I've request a cherry pick: #38273

@jasnell jasnell changed the title deps: V8: Add Power10 to the supported list and enable related features [v16.x] deps: V8: Add Power10 to the supported list and enable related features May 4, 2021
@jasnell jasnell removed the needs-ci PRs that need a full CI run. label May 4, 2021

@mhdawson mhdawson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@miladfarca

Copy link
Copy Markdown
Contributor Author

@richardlau Would you please help with landing this as well?
Also is there a way to only re-run the AIX test? Failure shouldn't be related to this PR.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

richardlau pushed a commit that referenced this pull request May 14, 2021
    Original commit message:
    ```
    PPC: Add Power10 to the supported list and enable related features

    This CL adds Power10 recognition to Linux, AIX as well as IBMi.

    Enabled features include:
    MODULO
    FPR_GPR_MOV
    SIMD
    LWSYNC
    ISELECT
    VSX

    Change-Id: Ifc337e6497a3efe9697bcf03063a2b94471f96e9
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2855041
    Reviewed-by: Clemens Backes <clemensb@chromium.org>
    Reviewed-by: Junliang Yan <junyan@redhat.com>
    Reviewed-by: Vasili Skurydzin <vasili.skurydzin@ibm.com>
    Commit-Queue: Milad Fa <mfarazma@redhat.com>
    Cr-Commit-Position: refs/heads/master@{#74279}
    ```

Refs: v8/v8@530080c

PR-URL: #38489
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ash Cripps <acripps@redhat.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
@richardlau

Copy link
Copy Markdown
Member

Landed in f31a611.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to build files or the CI. v8 engine Issues and PRs related to the V8 dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.