hsail: generate mov instructions for more arith_types and bit_types

This commit is contained in:
Brandon Potter 2016-12-02 18:01:49 -05:00
parent 35ba103009
commit 69c2d86d68

View file

@ -686,7 +686,7 @@ gen('Rem', arith_int_types, 'src0 - ((src0 / src1) * src1)')
gen('Abs', arith_types, 'std::abs(src0)')
gen('Neg', arith_types, '-src0')
gen('Mov', bit_types, 'src0')
gen('Mov', bit_types + arith_types, 'src0')
gen('Not', bit_types, 'heynot(src0)')
# mad and fma differ only in rounding behavior, which we don't emulate