Files
wasmtime/cranelift/codegen
Benjamin Bouvier b6e6998713 aarch64: mask rotation counts and share code generation of left and right rotations;
Given an integer size N, a left rotation of K places is the same as a
right rotation of N - K places. This means we can use right rotations to
implement left rotations too.

The Cranelift's rotation semantics are inherited from WebAssembly, which
mean the rotation count is truncated modulo the operand's bit size. Note
the ROR aarch64 instruction has the same semantics, when both input
operands are registers.
2020-04-24 12:36:59 +02:00
..
2020-04-03 13:13:37 -07:00
2019-12-07 09:47:43 -08:00
2020-04-15 17:21:28 -07:00

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