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

[SR-10817] Gaps in arithmetic benchmarking / testing #53207

Open
stephentyrone opened this issue Jun 1, 2019 · 1 comment
Open

[SR-10817] Gaps in arithmetic benchmarking / testing #53207

stephentyrone opened this issue Jun 1, 2019 · 1 comment
Labels
benchmarks bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. good first issue Good for newcomers standard library Area: Standard library umbrella

Comments

@stephentyrone
Copy link
Member

Previous ID SR-10817
Radar None
Original Reporter @stephentyrone
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Bug, Benchmark, StarterBug, Test
Assignee None
Priority Medium

md5: af326874c16fabc95a608b2cf02675cf

Issue Description:

We are in need of tests and/or benchmarks to ensure that arithmetic operations in Swift compile down to single instructions (when a single instruction on the target captures the necessary semantics).

These could plausibly take the form of either benchmarks or regression tests; regression tests are good because we can directly validate that we get single IR or assembly operations where appropriate, benchmarks are also good in some cases, where we don't necessarily have a single instruction replacement for an operation (integer smart shifts, for example).

@swift-ci
Copy link
Collaborator

swift-ci commented Apr 7, 2020

Comment by Michael Verges (JIRA)

@stephentyrone, I'm new to this project. I see this labeled as a StarterBug. Do you have any additional references to get started on this?

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmarks bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. good first issue Good for newcomers standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

2 participants