From: Brandon Potter Date: Fri, 2 Dec 2016 23:01:49 +0000 (-0500) Subject: hsail: generate mov instructions for more arith_types and bit_types X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69c2d86d68456616e7b4bfeacc794175a26d5bba;p=gem5.git hsail: generate mov instructions for more arith_types and bit_types --- diff --git a/src/arch/hsail/gen.py b/src/arch/hsail/gen.py index ec6ceec3d..0cc111e53 100755 --- a/src/arch/hsail/gen.py +++ b/src/arch/hsail/gen.py @@ -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