Add missing cnt (popcount) instruction support.
authorJim Wilson <jim.wilson@linaro.org>
Sun, 26 Feb 2017 04:04:09 +0000 (20:04 -0800)
committerJim Wilson <jim.wilson@linaro.org>
Sun, 26 Feb 2017 04:04:09 +0000 (20:04 -0800)
commitac189e7bf8865d61b4f5e89a530476f9e4c5c70b
tree6259f1c8e9c66da0df22cb004046855101fa5111
parenta8a0c9384831bc03b43e60b8d7896a403807335a
Add missing cnt (popcount) instruction support.

sim/aarch64/
* simulator.c (popcount): New.
(do_vec_CNT): New.
(do_vec_op1): Add do_vec_CNT call.

sim/testsuite/sim/aarch64/
* cnt.s: New.
sim/aarch64/ChangeLog
sim/aarch64/simulator.c
sim/testsuite/sim/aarch64/ChangeLog
sim/testsuite/sim/aarch64/cnt.s [new file with mode: 0644]