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

i586_unknown_netbsd: use inline stack probes #120411

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

erikdesjardins
Copy link
Contributor

This is one of the last two targets still using "call" stack probes.

I don't believe that this target uses call stack probes for any particular reason--inline stack probes are used on i686_unknown_netbsd, suggesting they work on netbsd; and on i586_unknown_linux_gnu (via the base i686_unknown_linux_gnu), suggesting they work with cpu = "pentium".

...although I don't have a netbsd system to test this on.

(cc @he32)

This is one of the last two targets still using "call" stack probes.
@rustbot
Copy link
Collaborator

rustbot commented Jan 27, 2024

r? @davidtwco

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jan 27, 2024
@rustbot
Copy link
Collaborator

rustbot commented Jan 27, 2024

These commits modify compiler targets.
(See the Target Tier Policy.)

Copy link
Member

@Noratrieb Noratrieb left a comment

Choose a reason for hiding this comment

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

r=me if the target maintainer agrees that this is correct

@erikdesjardins
Copy link
Contributor Author

ping @he32 -- this is the only netbsd target that uses call stack probes--all others use inline probes or don't have stack probes at all--I'd like to clean it up

@he32
Copy link
Contributor

he32 commented Feb 27, 2024

ping @he32 -- this is the only netbsd target that uses call stack probes--all others use inline probes or don't have stack probes at all--I'd like to clean it up

I've re-built the rust compiler on the native target with that patch in place, so it's most probably OK.

@Noratrieb
Copy link
Member

in that case
@bors r+

@bors
Copy link
Contributor

bors commented Feb 27, 2024

📌 Commit 3b73e89 has been approved by Nilstrieb

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 27, 2024
@bors
Copy link
Contributor

bors commented Feb 27, 2024

⌛ Testing commit 3b73e89 with merge 53ed660...

@bors
Copy link
Contributor

bors commented Feb 27, 2024

☀️ Test successful - checks-actions
Approved by: Nilstrieb
Pushing 53ed660 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Feb 27, 2024
@bors bors merged commit 53ed660 into rust-lang:master Feb 27, 2024
12 checks passed
@rustbot rustbot added this to the 1.78.0 milestone Feb 27, 2024
wip-sync pushed a commit to NetBSD/pkgsrc-wip that referenced this pull request Feb 27, 2024
@erikdesjardins erikdesjardins deleted the netbsdcall branch February 27, 2024 14:08
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (53ed660): comparison URL.

Overall result: ❌ regressions - ACTION NEEDED

Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please open an issue or create a new PR that fixes the regressions, add a comment linking to the newly created issue or PR, and then add the perf-regression-triaged label to this PR.

@rustbot label: +perf-regression
cc @rust-lang/wg-compiler-performance

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
0.7% [0.6%, 0.7%] 4
Regressions ❌
(secondary)
0.3% [0.2%, 0.6%] 25
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.7% [0.6%, 0.7%] 4

Max RSS (memory usage)

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
2.1% [2.1%, 2.1%] 1
Regressions ❌
(secondary)
3.2% [2.2%, 4.2%] 3
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-3.5% [-3.5%, -3.5%] 1
All ❌✅ (primary) 2.1% [2.1%, 2.1%] 1

Cycles

This benchmark run did not return any relevant results for this metric.

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 650.944s -> 651.401s (0.07%)
Artifact size: 311.12 MiB -> 311.13 MiB (0.00%)

@rustbot rustbot added the perf-regression Performance regression. label Feb 27, 2024
@lqd
Copy link
Member

lqd commented Feb 27, 2024

This PR is for a different target than the one we profile on, so it has to be showing the currently noisy benchmarks instead.

@rustbot label: +perf-regression-triaged

@rustbot rustbot added the perf-regression-triaged The performance regression has been triaged. label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. perf-regression Performance regression. perf-regression-triaged The performance regression has been triaged. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants