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

Tracking Issue for sparc_target_feature #132783

Open
1 of 4 tasks
taiki-e opened this issue Nov 8, 2024 · 0 comments
Open
1 of 4 tasks

Tracking Issue for sparc_target_feature #132783

taiki-e opened this issue Nov 8, 2024 · 0 comments
Labels
A-target-feature Area: Enabling/disabling target features like AVX, Neon, etc. C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC O-SPARC Target: SPARC processors

Comments

@taiki-e
Copy link
Member

taiki-e commented Nov 8, 2024

This is a tracking issue for SPARC architecture specific part of #44839 (RFC 2045 (rust-lang/rfcs#2045)).
The feature gate for the issue is #![feature(sparc_target_feature)].

About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.

Steps

Unresolved Questions

  • Behavior of v8plus target feature is LLVM version dependent until LLVM 20 becomes minimal LLVM version (Our 32-bit Sparc handling isn't quite correct yet #132585 (comment))
  • Enabling v8plus target feature without v9 target feature should be rejected. (AFAIK, there is no existing mechanism to represent this.)
    // FIXME: should be rejected
    #[cfg(all(target_feature = "v8plus", not(target_feature = "v9")))]
    compile_error!("+v8plus,-v9 (FIXME)");

    Or, enable v9 target feature automatically when v8plus target feature enabled.

Implementation history


@rustbot label +O-SPARC +A-target-feature

@taiki-e taiki-e added the C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC label Nov 8, 2024
@rustbot rustbot added A-target-feature Area: Enabling/disabling target features like AVX, Neon, etc. O-SPARC Target: SPARC processors labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-target-feature Area: Enabling/disabling target features like AVX, Neon, etc. C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC O-SPARC Target: SPARC processors
Projects
None yet
Development

No branches or pull requests

2 participants