aboutsummaryrefslogtreecommitdiff
path: root/target/tilegx/translate.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2016-11-21 12:10:28 +0100
committerRichard Henderson <rth@twiddle.net>2017-01-10 08:49:59 -0800
commit3253cddd21ab288fa94cb6c8b9ec9fe9a7fcb3e5 (patch)
tree555439c14adad7e754558ce408ddb57404bd97ab /target/tilegx/translate.c
parent08da3180dca8d41881b321d43944d97a838792fa (diff)
target-tilegx: Use ctpop helper
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/tilegx/translate.c')
-rw-r--r--target/tilegx/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/tilegx/translate.c b/target/tilegx/translate.c
index 8a2df1b272..ff2ef7b63d 100644
--- a/target/tilegx/translate.c
+++ b/target/tilegx/translate.c
@@ -697,7 +697,7 @@ static TileExcp gen_rr_opcode(DisasContext *dc, unsigned opext,
break;
case OE_RR_X0(PCNT):
case OE_RR_Y0(PCNT):
- gen_helper_pcnt(tdest, tsrca);
+ tcg_gen_ctpop_tl(tdest, tsrca);
mnemonic = "pcnt";
break;
case OE_RR_X0(REVBITS):