mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-10 22:00:54 +01:00
To implement math.lerp without branches, we add SELECT_NUM which selects one of the two inputs based on the comparison condition. For simplicity, we only support C == D for now; this can be extended to a more generic version with a IrCondition operand E, but that requires more work on the SSE side (to flip the comparison for some conditions like Greater, and expose more generic vcmpsd). |
||
---|---|---|
.. | ||
include | ||
src |