aco/isel: Add documentation for (u)int64->f16 conversion
authorTony Wasserka <tony.wasserka@gmx.de>
Fri, 12 Mar 2021 10:13:51 +0000 (11:13 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 26 Mar 2021 14:39:23 +0000 (14:39 +0000)
commit8557ac9a1249eac77f6f114f1d8c8884998b5b2c
tree626692f649159f02e993277c16ac4d7c5c8c014d
parentb5be03f39f2099d3ca11062929c451370cf8d3f3
aco/isel: Add documentation for (u)int64->f16 conversion

The upper 32 bits are truncated before converting, which still produces
correct results since they never meaningfully contribute to the result.

Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9597>
src/amd/compiler/aco_instruction_selection.cpp