Files
wasmtime/cranelift/codegen
Ulrich Weigand 137a8b710f Move bitselect->vselect optimization to x64 back-end (#5191)
The simplifier was performing an optimization to replace bitselect
with vselect if the all bytes of the condition mask could be shown
to be all ones or all zeros.

This optimization only ever made any difference in codegen on the
x64 target.  Therefore, move this optimization to the x64 back-end
and perform it in ISLE instead.  Resulting codegen should be
unchanged, with slightly improved compile time.

This also eliminates a few endian-dependent bitcast operations.
2022-11-03 20:17:36 +00:00
..
2021-10-10 14:19:08 +02:00
2022-10-05 09:30:55 -05:00
2022-11-01 11:18:19 -07:00

This crate contains the core Cranelift code generator. It translates code from an intermediate representation into executable machine code.