diff options
Diffstat (limited to 'target-tilegx/helper.c')
-rw-r--r-- | target-tilegx/helper.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target-tilegx/helper.c b/target-tilegx/helper.c index 5b37a8c..a01bb8d 100644 --- a/target-tilegx/helper.c +++ b/target-tilegx/helper.c @@ -40,6 +40,16 @@ uint64_t helper_cnttz(uint64_t arg) return ctz64(arg); } +uint64_t helper_pcnt(uint64_t arg) +{ + return ctpop64(arg); +} + +uint64_t helper_revbits(uint64_t arg) +{ + return revbit64(arg); +} + /* * Functional Description * uint64_t a = rf[SrcA]; |