Skip to content

Implement more of the hint/no-op intrinsics #802

@jberthold

Description

@jberthold

A number of rustc intrinsics represent mere hints to the compiler and are actual no-ops for the semantics.

  • cold_path (observed, required for P-token)
  • likely, unlikely (returning bool argument)
  • prefetch_* (no-op)

Only cold_path is required at this point.
At the same time, the intrinsics implementations should be moved to their own module intrinsics.md (requiring an import of the data.md module for projection traversals, and its dependent value.md for values).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions