diff options
author | Brandon Potter <brandon.potter@amd.com> | 2016-12-02 18:01:49 -0500 |
---|---|---|
committer | Brandon Potter <brandon.potter@amd.com> | 2016-12-02 18:01:49 -0500 |
commit | 69c2d86d68456616e7b4bfeacc794175a26d5bba (patch) | |
tree | 558e0a1d5652cc73b96fd9398b6b3d8019b425cc /src/arch/hsail/gen.py | |
parent | 35ba10300977bfbaf0e02ed52de7ea1cd3817d29 (diff) | |
download | gem5-69c2d86d68456616e7b4bfeacc794175a26d5bba.tar.xz |
hsail: generate mov instructions for more arith_types and bit_types
Diffstat (limited to 'src/arch/hsail/gen.py')
-rwxr-xr-x | src/arch/hsail/gen.py | 2 |
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 |