luau/CodeGen
Arseny Kapoulkine b47cd4521c CodeGen: Use more efficient lowering for UNM_*
UNM_NUM and UNM_VEC were both implemented assuming SSE-style
restrictions (2-argument form), but using AVX that doesn't have them.
There's no need to copy source to destination separately - we can just
vxorpd into destination.

Most occurrences of UNM_NUM/UNM_VEC followed the self-xor path, but this
saves a couple instructions in trig benchmark and makes it execute ~0.1%
fewer instructions (the actual runtime delta is within the noise).
2024-03-02 11:07:18 -08:00
..
include CodeGen: Extract all vector tag patching into TAG_VECTOR (#1171) 2024-02-21 07:06:11 -08:00
src CodeGen: Use more efficient lowering for UNM_* 2024-03-02 11:07:18 -08:00