projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35ba103
)
hsail: generate mov instructions for more arith_types and bit_types
author
Brandon Potter
<brandon.potter@amd.com>
Fri, 2 Dec 2016 23:01:49 +0000
(18:01 -0500)
committer
Brandon Potter
<brandon.potter@amd.com>
Fri, 2 Dec 2016 23:01:49 +0000
(18:01 -0500)
src/arch/hsail/gen.py
patch
|
blob
|
history
diff --git
a/src/arch/hsail/gen.py
b/src/arch/hsail/gen.py
index ec6ceec3dbc3e7124bef96aff170adfbd7ef4809..0cc111e536f6295cd0041202e4ece793459aa6ac 100755
(executable)
--- 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