diff options
author | Richard Henderson <rth@twiddle.net> | 2015-08-20 21:30:51 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2015-09-15 07:45:33 -0700 |
commit | 7f41a8d67232bee48ede90ea43f962fdb9e98371 (patch) | |
tree | 5a019cc1c9371f4af57566436424429e869512a9 /target-tilegx/helper.h | |
parent | 42fedbca8f5b54324ed89be3484d4a3dc9946387 (diff) |
target-tilegx: Handle most bit manipulation instructions
The crc instructions are omitted from this set.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-tilegx/helper.h')
-rw-r--r-- | target-tilegx/helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-tilegx/helper.h b/target-tilegx/helper.h index fd5517ede4..644d313e79 100644 --- a/target-tilegx/helper.h +++ b/target-tilegx/helper.h @@ -1,4 +1,6 @@ DEF_HELPER_2(exception, noreturn, env, i32) DEF_HELPER_FLAGS_1(cntlz, TCG_CALL_NO_RWG_SE, i64, i64) DEF_HELPER_FLAGS_1(cnttz, TCG_CALL_NO_RWG_SE, i64, i64) +DEF_HELPER_FLAGS_1(pcnt, TCG_CALL_NO_RWG_SE, i64, i64) +DEF_HELPER_FLAGS_1(revbits, TCG_CALL_NO_RWG_SE, i64, i64) DEF_HELPER_FLAGS_3(shufflebytes, TCG_CALL_NO_RWG_SE, i64, i64, i64, i64) |