Skip to content

Intercept calls to (rust) libm and emit a builtin instead of the soft impl #81

Closed
@khyperia

Description

@khyperia

Plan is to go with @bjorn3's comment below and expose the GLOps not in std::intrinsics via intercepting calls to https://github.com/rust-lang/libm, which is used in e.g. glam's no_std implementation.

Old title: Expose GLOps not in std::intrinsics

https://docs.rs/spirv_headers/1.5.0/spirv_headers/enum.GLOp.html , same with CLOp.

For example, acos.

Metadata

Metadata

Assignees

Labels

c: rustc_codegen_spirvIssues specific to the rustc_codegen_spirv crate.t: enhancementA new feature or improvement to an existing one.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions