Skip to content

[x86] Codegen should split up double saturating-narrows #7069

@rootjalex

Description

@rootjalex

CodeGen_ARM already does this (see here).

x86's options are far more limited (only i32 -> u8 and i32 -> i8 are possible), but a pair of saturating narrow instructions will be better than what we currently generate. Other backends might also benefit from this, but I haven't looked into it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions