diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-06-05 15:02:20 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-06-10 06:50:11 -0700 |
commit | 215b8844eeb556a154c2233d3debeff660fd7ec8 (patch) | |
tree | f30fd795edfefcb306830503d8499dc7f92edba4 /src/intel/genxml | |
parent | d48d991ce272df837627790e80c06fb10266c48a (diff) |
panfrost/midgard: Note floating compares type convert
OP_TYPE_CONVERTS denotes an opcode that returns a different type than is
source (going from int-domain to float-domain or vice versa), named
after the f2i/i2f family of opcodes it covers. We care because source
mods are determined by the source type (i/f) but output modifiers are
determined by the output type (equals the source type, unless the op
type converts, in which case it's the opposite).
The upshot is that floating-point compares (feq/fne/etc) actually do
type-convert. That is, that take in floating-points and output in
integer space (a boolean), so we mark them off this way to ensure the
correct output modifiers are used.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/intel/genxml')
0 files changed, 0 insertions, 0 deletions