diff options
author | Richard Henderson <rth@twiddle.net> | 2012-09-01 11:14:04 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-01-05 12:18:45 -0800 |
commit | 99b4f24b3e636ab241b53bc16bf8f0a0ac4a2271 (patch) | |
tree | f7fe0ebe88043f9fe0952d665aa5f312e2d00016 /target-s390x/translate.c | |
parent | 2112bf1bfb696def31b211425e5e74e89f9574c3 (diff) | |
download | qemu-99b4f24b3e636ab241b53bc16bf8f0a0ac4a2271.zip |
target-s390: Implement POPCNT
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-s390x/translate.c')
-rw-r--r-- | target-s390x/translate.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target-s390x/translate.c b/target-s390x/translate.c index dc5aac7941..fe880956f0 100644 --- a/target-s390x/translate.c +++ b/target-s390x/translate.c @@ -2558,6 +2558,12 @@ static ExitStatus op_ori(DisasContext *s, DisasOps *o) return NO_EXIT; } +static ExitStatus op_popcnt(DisasContext *s, DisasOps *o) +{ + gen_helper_popcnt(o->out, o->in2); + return NO_EXIT; +} + #ifndef CONFIG_USER_ONLY static ExitStatus op_ptlb(DisasContext *s, DisasOps *o) { |