summaryrefslogtreecommitdiff
path: root/src/arch/hsail/Brig_new.hpp
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2016-12-02 18:01:55 -0500
committerBrandon Potter <brandon.potter@amd.com>2016-12-02 18:01:55 -0500
commit86b375f2f3c5d039a74be6481f11426fb51a5e38 (patch)
tree180165468bab4c28fd4d76712e7a31d19f9613e7 /src/arch/hsail/Brig_new.hpp
parent3bb3db6194bae29f03dfa40f589ff024232ee96c (diff)
downloadgem5-86b375f2f3c5d039a74be6481f11426fb51a5e38.tar.xz
hsail: add popcount type and generate popcount instructions
Diffstat (limited to 'src/arch/hsail/Brig_new.hpp')
-rw-r--r--src/arch/hsail/Brig_new.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/hsail/Brig_new.hpp b/src/arch/hsail/Brig_new.hpp
index 60e6f4dea..95fcf4d46 100644
--- a/src/arch/hsail/Brig_new.hpp
+++ b/src/arch/hsail/Brig_new.hpp
@@ -1455,6 +1455,8 @@ struct BrigInstSourceType {
uint16_t reserved; //.defValue=0
};
+typedef BrigInstSourceType BrigInstPopcount;
+
struct BrigOperandAddress {
BrigBase base;
BrigCodeOffset32_t symbol; //.wtype=ItemRef<DirectiveVariable>