From 69c2d86d68456616e7b4bfeacc794175a26d5bba Mon Sep 17 00:00:00 2001 From: Brandon Potter Date: Fri, 2 Dec 2016 18:01:49 -0500 Subject: hsail: generate mov instructions for more arith_types and bit_types --- src/arch/hsail/gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/hsail') 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 -- cgit v1.2.3