aboutsummaryrefslogtreecommitdiff
path: root/target/tilegx/translate.c
diff options
context:
space:
mode:
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):