summaryrefslogtreecommitdiff
path: root/src/arch/hsail/gen.py
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2016-12-02 18:01:49 -0500
committerBrandon Potter <brandon.potter@amd.com>2016-12-02 18:01:49 -0500
commit69c2d86d68456616e7b4bfeacc794175a26d5bba (patch)
tree558e0a1d5652cc73b96fd9398b6b3d8019b425cc /src/arch/hsail/gen.py
parent35ba10300977bfbaf0e02ed52de7ea1cd3817d29 (diff)
downloadgem5-69c2d86d68456616e7b4bfeacc794175a26d5bba.tar.xz
hsail: generate mov instructions for more arith_types and bit_types
Diffstat (limited to 'src/arch/hsail/gen.py')
-rwxr-xr-xsrc/arch/hsail/gen.py2
1 files changed, 1 insertions, 1 deletions
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